From c916037773d7d3d8d37ca2c5a8899b7b728e377d Mon Sep 17 00:00:00 2001 From: Owen Fraser-Green Date: Tue, 23 Mar 2004 12:10:32 +0000 Subject: First checkin of the Mono bindings. --- mono/InterfaceAttribute.cs | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 mono/InterfaceAttribute.cs (limited to 'mono/InterfaceAttribute.cs') 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; + } + } + } +} -- cgit