mirror of
https://gitee.com/csharpui/CPF.git
synced 2025-04-05 17:37:51 +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;
|
|
}
|
|
}
|
|
}
|