CustomUnifyResultAttribute.cs 368 B

12345678910111213141516
  1. namespace Admin.NET.Core;
  2. /// <summary>
  3. /// 自定义规范化结果特性
  4. /// </summary>
  5. [SuppressSniffer]
  6. [AttributeUsage(AttributeTargets.All, AllowMultiple = true, Inherited = true)]
  7. public class CustomUnifyResultAttribute : Attribute
  8. {
  9. public string Name { get; set; }
  10. public CustomUnifyResultAttribute(string name)
  11. {
  12. Name = name;
  13. }
  14. }