using System; namespace Serein.Library { /// /// 绑定值特性 /// [AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)] public class BindValueAttribute : Attribute { /// /// 绑定的值 /// public object Value { get; } /// /// 绑定值特性构造函数 /// /// public BindValueAttribute(object value) { Value = value; } } }