Esempio n. 1
0
 public static TEnum?ToEnum <TEnum>(this string value) where TEnum : struct, IConvertible
 {
     return(EnumConvertor.ToEnum <TEnum>(value));
 }
Esempio n. 2
0
 public static string ToText <TEnum>(this TEnum value) where TEnum : struct, IConvertible
 {
     return(EnumConvertor.ToText(value));
 }