summaryrefslogtreecommitdiff
path: root/CSharp/Ivy/IvyPPC/IvyBindingAttribute.cs
diff options
context:
space:
mode:
Diffstat (limited to 'CSharp/Ivy/IvyPPC/IvyBindingAttribute.cs')
-rw-r--r--CSharp/Ivy/IvyPPC/IvyBindingAttribute.cs22
1 files changed, 22 insertions, 0 deletions
diff --git a/CSharp/Ivy/IvyPPC/IvyBindingAttribute.cs b/CSharp/Ivy/IvyPPC/IvyBindingAttribute.cs
new file mode 100644
index 0000000..7ead769
--- /dev/null
+++ b/CSharp/Ivy/IvyPPC/IvyBindingAttribute.cs
@@ -0,0 +1,22 @@
+using System;
+using System.Collections.Generic;
+using System.Text;
+
+namespace IvyBus
+{
+ [AttributeUsage(AttributeTargets.Method)]
+ public class IvyBindingAttribute : Attribute
+ {
+ string expression;
+
+ public string Expression
+ {
+ get { return expression; }
+ }
+
+ public IvyBindingAttribute(string expression)
+ {
+ this.expression = expression;
+ }
+ }
+}