[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Enum)]
        public class EnumSignAttribute : Attribute
        {
            // Fields
            private string _displayName;

            public EnumSignAttribute(string displayname)
            {
                this._displayName = displayname;
            }

            // Properties
            public string DisplayName
            {
                get
                {
                    return this._displayName;
                }
                set
                {
                    this._displayName = value;
                }
            }
        }
  
枚举

相关文章:

  • 2021-06-21
  • 2021-05-25
  • 2022-12-23
  • 2021-11-25
  • 2021-09-20
  • 2021-09-20
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-26
  • 2021-06-26
  • 2021-06-21
  • 2022-12-23
相关资源
相似解决方案