예제 #1
0
 public static TEnum?ToEnum <TEnum>(this String input, Boolean ignoreCase = true) where TEnum : struct
 {
     return(DDRIT.ToEnum <TEnum>(input, ignoreCase));
 }
예제 #2
0
 public static TEnum?ToEnum <TEnum>(this Enum value, TEnum? @default) where TEnum : struct
 {
     return(DDRIT.ToEnum <TEnum>(value, @default));
 }