mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2025-12-22 11:20:27 +01:00
24 lines
402 B
C#
24 lines
402 B
C#
|
|
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;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|