summaryrefslogtreecommitdiffstats
path: root/mono/InterfaceAttribute.cs
blob: 2a6e9bb0fcc98a6cad53378ded1af1cabb1c8a2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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;
	}
    }
  }
}