using System; namespace Kean.Domain { /// /// 指示事件处理程序的顺序 /// [AttributeUsage(AttributeTargets.Class, Inherited = false)] public class EventHandlerIndexAttribute : Attribute { /// /// 初始化 Kean.Domain.EventHandlerOrderAttribute 类的新实例 /// /// 序号 public EventHandlerIndexAttribute(uint index) => Index = index; /// /// 获取序号 /// public uint Index { get; } } }