File: InterfaceAttribute.cs

package info (click to toggle)
dbus-sharp 0.63.git.20060719-4
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 2,244 kB
  • ctags: 636
  • sloc: sh: 8,433; xml: 4,036; cs: 3,293; makefile: 163
file content (23 lines) | stat: -rw-r--r-- 402 bytes parent folder | download | duplicates (3)
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;
	}
    }
  }
}