about summary refs log tree commit diff
path: root/LibMatrix/Helpers/MatrixEventAttribute.cs
diff options
context:
space:
mode:
Diffstat (limited to 'LibMatrix/Helpers/MatrixEventAttribute.cs')
-rw-r--r--LibMatrix/Helpers/MatrixEventAttribute.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/LibMatrix/Helpers/MatrixEventAttribute.cs b/LibMatrix/Helpers/MatrixEventAttribute.cs
new file mode 100644
index 0000000..7556019
--- /dev/null
+++ b/LibMatrix/Helpers/MatrixEventAttribute.cs
@@ -0,0 +1,9 @@
+using System;
+
+namespace LibMatrix.Helpers;
+
+[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
+public class MatrixEventAttribute : Attribute {
+    public string EventName { get; set; }
+    public bool Legacy { get; set; }
+}