public class MarkStaticAttribute:Attribute { public MarkStaticAttribute(bool mark=true) { _IsMark = mark; } private bool _IsMark { set; get; } /// /// 是否标记 /// public bool IsMark { get { return _IsMark; } set { _IsMark = value; } } }