old_flsystem/类库/Chat.Framework/BaseEvent.cs

29 lines
618 B
C#
Raw Permalink Normal View History

2022-09-20 03:10:29 +00:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Chat.Framework
{
/// <summary>
/// 事件基础类
/// </summary>
public class ChatEvent
{
public bool IsToString { get; set; }
/// <summary>
/// 是否取消传递
/// </summary>
public bool Cancel { get; set; }
/// <summary>
/// 创建时间
/// </summary>
public DateTime CrtTime { get; private set; }
public ChatEvent()
{
CrtTime = DateTime.Now;
}
}
}