From 30a0868789466012bab869af4300aef5a9cac108 Mon Sep 17 00:00:00 2001 From: Rory& Date: Thu, 30 May 2024 09:46:43 +0000 Subject: Rename legacy event types --- LibMatrix.LegacyEvents.EventTypes/LegacyMatrixEventAttribute.cs | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 LibMatrix.LegacyEvents.EventTypes/LegacyMatrixEventAttribute.cs (limited to 'LibMatrix.LegacyEvents.EventTypes/LegacyMatrixEventAttribute.cs') diff --git a/LibMatrix.LegacyEvents.EventTypes/LegacyMatrixEventAttribute.cs b/LibMatrix.LegacyEvents.EventTypes/LegacyMatrixEventAttribute.cs new file mode 100644 index 0000000..bfcc6f8 --- /dev/null +++ b/LibMatrix.LegacyEvents.EventTypes/LegacyMatrixEventAttribute.cs @@ -0,0 +1,7 @@ +namespace LibMatrix.LegacyEvents.EventTypes; + +[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)] +public class LegacyMatrixEventAttribute : Attribute { + public required string EventName { get; set; } + public bool Legacy { get; set; } +} \ No newline at end of file -- cgit 1.4.1