TestEnum.cs 482 B

123456789101112131415161718192021222324252627282930
  1. using System.ComponentModel;
  2. namespace Masuit.Tools.Abstractions.Test.Systems;
  3. public enum TestEnum
  4. {
  5. [EnumDescription("First Value", Language = "en")]
  6. First = 1,
  7. [EnumDescription("Second Value")]
  8. Second = 2,
  9. [EnumDescription("Third Value")]
  10. Third = 3
  11. }
  12. public enum FlagsEnum
  13. {
  14. [Description("None")]
  15. None = 0,
  16. [Description("Flag A")]
  17. FlagA = 1,
  18. [Description("Flag B")]
  19. FlagB = 2,
  20. [Description("Flag C")]
  21. FlagC = 4
  22. }