about summary refs log tree commit diff
path: root/IrcStates/HandlesAttribute.cs
diff options
context:
space:
mode:
authorBen Harris <ben@tilde.team>2020-05-06 21:27:36 -0400
committerBen Harris <ben@tilde.team>2020-05-06 21:27:36 -0400
commitf6f3e7e0c535aaf3627f815dd63970aec6c73f75 (patch)
tree54b7790cb6ebcc26e02d97f24ae8d09fc67163de /IrcStates/HandlesAttribute.cs
parent0117d9d9a0a395166e15c0996f87af823928d011 (diff)
start impl
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;
+        }
+    }
+}