00001 using System; 00002 00003 namespace DBus 00004 { 00005 [AttributeUsage(AttributeTargets.Class, AllowMultiple=false, Inherited=true)] 00006 public class InterfaceAttribute : Attribute 00007 { 00008 private string interfaceName; 00009 00010 public InterfaceAttribute(string interfaceName) 00011 { 00012 this.interfaceName = interfaceName; 00013 } 00014 00015 public string InterfaceName 00016 { 00017 get 00018 { 00019 return this.interfaceName; 00020 } 00021 } 00022 } 00023 }