using NCC.Dependency;
using System;
namespace NCC.EventBridge
{
///
/// 事件消息特性
///
[SuppressSniffer, AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
public sealed class EventMessageAttribute : Attribute
{
///
/// 构造函数
///
public EventMessageAttribute()
{
}
///
/// 构造函数
///
///
public EventMessageAttribute(string eventId)
{
EventId = eventId;
}
///
/// 事件 Id
///
public string EventId { get; set; }
}
}