Model/LogInfo.cs

(开头部分) 2KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
// LogInfo.cs
// CopyRight (c) 2009-2016 WMPT Teconology. All Rights Reserved.
// 123@163.com.com
// 2010-01-25
// 程序log信息类
namespace WMPT.Model
{
    public class LogInfo
    {
        private LogType type;
        private DateTime dateTime;
        private string message;
        private string user;
        private int id;

        /// <summary>
        /// Initializes a new instance of the <b>LogInfo</b> class.
        /// </summary>
        /// <param name="type">The type of the Entry</param>
        /// <param name="dateTime">The DateTime.</param>
        /// <param name="message">The Message.</param>
        /// <param name="user">The User.</param>
        public LogInfo(int id, LogType type, DateTime dateTime, string message, string user)
        {
            this.id = id;
            this.type = type;
            this.dateTime = dateTime;
            this.message = message;
            this.user = user;
        }

        public int Id
        {
            get { return id; }
        }

        /// <summary>
        /// Gets the EntryType.
        /// </summary>
        public LogType EntryType
        {
            get { return type; }
        }

        /// <summary>
        /// Gets the DateTime.
        /// </summary>
        public DateTime DateTime
        {
            get { return dateTime; }
        }

        /// <summary>
        /// Gets the Message.
        /// </summary>
        public string Message
后面还有 55 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。