using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Chat.Framework { /// /// 事件基础类 /// public class ChatEvent { public bool IsToString { get; set; } /// /// 是否取消传递 /// public bool Cancel { get; set; } /// /// 创建时间 /// public DateTime CrtTime { get; private set; } public ChatEvent() { CrtTime = DateTime.Now; } } }