示例#1
0
 public static EnumType GetEnum(string name)
 {
     InteropHelper.init();
     return(InteropHelper.g_name_to_enum[name]);
 }
示例#2
0
 public static EnumType GetEnum(System.Type t)
 {
     InteropHelper.init();
     return(InteropHelper.g_name_to_enum[t.Name]);
 }
示例#3
0
 public static List <EnumType> GetEnums()
 {
     InteropHelper.init();
     return(InteropHelper.g_name_to_enum.Values.ToList());
 }