mirror of
https://gitee.com/csharpui/CPF.git
synced 2025-09-19 01:58:20 +08:00
初始化
This commit is contained in:
31
CPF.Mac/Mac/Foundation/ConnectAttribute.cs
Normal file
31
CPF.Mac/Mac/Foundation/ConnectAttribute.cs
Normal file
@@ -0,0 +1,31 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user