zoukankan      html  css  js  c++  java
  • LogEntry

    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    
    
    namespace WindowsFormsApplication3.Model
    {
        public class LogEntry
        {
            protected List<LogEntry> logEntries;
            public List<LogEntry> LogEntries { get { return logEntries; } }
    
    
            protected string checkoutstep;
            public string CheckoutStep {
                get { return checkoutstep; }
                set { checkoutstep = value; }
            }
            protected string message;
            public string Message {
                get { return message; }
                set { message = value; }
            }
    
    
            protected DateTime datetime;
            public LogEntry(string cstep, string messg) {
                logEntries = new List<LogEntry>();
                checkoutstep = cstep;
                this.message = messg;
                datetime = DateTime.Now;
            }
            public void LogWriteLine(string cstep, string messg) {
                logEntries.Add(new LogEntry(cstep, messg));
            }
        }
    }
    

      

  • 相关阅读:
    南阳97
    南阳96
    南阳94
    南阳77
    南阳75
    南阳74
    南阳65
    一般图匹配
    466E
    hdu5057 分块处理,当数值大于数据范围时树状数组 真是巧 将大数据分为小数据来处理
  • 原文地址:https://www.cnblogs.com/rosizel/p/3849573.html
Copyright © 2011-2022 走看看