mirror of
https://gitee.com/csharpui/CPF.git
synced 2025-07-16 16:50:45 +08:00
32 lines
377 B
C#
32 lines
377 B
C#
![]() |
using System;
|
||
|
|
||
|
namespace CPF.Mac.Foundation
|
||
|
{
|
||
|
[AttributeUsage(AttributeTargets.Property)]
|
||
|
public sealed class ConnectAttribute : Attribute
|
||
|
{
|
||
|
private string name;
|
||
|
|
||
|
public string Name
|
||
|
{
|
||
|
get
|
||
|
{
|
||
|
return name;
|
||
|
}
|
||
|
set
|
||
|
{
|
||
|
name = value;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public ConnectAttribute()
|
||
|
{
|
||
|
}
|
||
|
|
||
|
public ConnectAttribute(string name)
|
||
|
{
|
||
|
this.name = name;
|
||
|
}
|
||
|
}
|
||
|
}
|