using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Hncore.Infrastructure.Events { /// /// 定义事件源接口,所有的事件源都要实现该接口 /// public interface IEventData { /// /// 事件发生的时间 /// DateTime EventTime { get; set; } /// /// 触发事件的对象 /// Object EventSource { get; set; } } }