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