29 lines
618 B
C#
29 lines
618 B
C#
|
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;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|