Modified to support char type.
[platform/upstream/dbus.git] / mono / InterfaceAttribute.cs
1 using System;
2
3 namespace DBus
4 {
5   [AttributeUsage(AttributeTargets.Class, AllowMultiple=false, Inherited=true)]
6   public class InterfaceAttribute : Attribute 
7   {
8     private string interfaceName;
9
10     public InterfaceAttribute(string interfaceName) 
11     {
12       this.interfaceName = interfaceName;
13     }
14
15     public string InterfaceName
16     {
17       get
18         {
19           return this.interfaceName;
20         }
21     }
22   }
23 }