sharp-chat/SharpChatCommon/Events/ChatEventDataForAttribute.cs

12 lines
347 B
C#

using System;
namespace SharpChat.Events {
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
public class ChatEventDataForAttribute : Attribute {
public string EventName { get; }
public ChatEventDataForAttribute(string eventName) {
EventName = eventName;
}
}
}