Exemplo n.º 1
0
 public CaseModel Analysis_Enum()
 {
     return(new CaseModel()
     {
         NameSign = @"解析枚举类型值",
         ExeEvent = () => {
             //EnumInfo[] model EnumGetInfo<E>();
             foreach (EnumInfo model in EnumInfo.EnumGetInfo <LEKEY>())
             {
                 Print.WriteLine("Name: {0} IntValue: {1} Explain: {2}", model.Name, model.IntValue, model.Explain);
             }
         },
     });
 }