about summary refs log tree commit diff
path: root/LibMatrix.LegacyEvents.EventTypes/LegacyMatrixEventAttribute.cs
diff options
context:
space:
mode:
Diffstat (limited to 'LibMatrix.LegacyEvents.EventTypes/LegacyMatrixEventAttribute.cs')
-rw-r--r--LibMatrix.LegacyEvents.EventTypes/LegacyMatrixEventAttribute.cs7
1 files changed, 7 insertions, 0 deletions
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