about summary refs log tree commit diff
path: root/IrcStates/HandlesAttribute.cs
diff options
context:
space:
mode:
Diffstat (limited to 'IrcStates/HandlesAttribute.cs')
-rw-r--r--IrcStates/HandlesAttribute.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/IrcStates/HandlesAttribute.cs b/IrcStates/HandlesAttribute.cs
new file mode 100644
index 0000000..8f3b271
--- /dev/null
+++ b/IrcStates/HandlesAttribute.cs
@@ -0,0 +1,15 @@
+using System;
+
+namespace IrcStates
+{
+    [AttributeUsage(AttributeTargets.Method, AllowMultiple = true, Inherited = false)]
+    internal class HandlesAttribute : Attribute
+    {
+        private string Command { get; }
+
+        public HandlesAttribute(string command)
+        {
+            Command = command;
+        }
+    }
+}