summaryrefslogtreecommitdiffstats
path: root/mono/InterfaceAttribute.cs
diff options
context:
space:
mode:
Diffstat (limited to 'mono/InterfaceAttribute.cs')
-rw-r--r--mono/InterfaceAttribute.cs23
1 files changed, 23 insertions, 0 deletions
diff --git a/mono/InterfaceAttribute.cs b/mono/InterfaceAttribute.cs
new file mode 100644
index 00000000..2a6e9bb0
--- /dev/null
+++ b/mono/InterfaceAttribute.cs
@@ -0,0 +1,23 @@
+using System;
+
+namespace DBus
+{
+ [AttributeUsage(AttributeTargets.Class, AllowMultiple=false, Inherited=true)]
+ public class InterfaceAttribute : Attribute
+ {
+ private string interfaceName;
+
+ public InterfaceAttribute(string interfaceName)
+ {
+ this.interfaceName = interfaceName;
+ }
+
+ public string InterfaceName
+ {
+ get
+ {
+ return this.interfaceName;
+ }
+ }
+ }
+}