MasstransferExporter/MasstransferCommon/Events/EventAction.cs

10 lines
265 B
C#
Raw Normal View History

2024-09-02 13:02:04 +00:00
namespace MasstransferCommon.Events;
/// <summary>
/// 用于声明当前方法为事件处理器
/// </summary>
[AttributeUsage(AttributeTargets.Method)]
public class EventAction(params EventType[] types) : Attribute
{
public EventType[] Types => types;
}