山东雷驰
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

23 lines
614 B

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