コード例 #1
0
 public static InvalidEnumArgumentException InvalidEnumArgumentException <T>(string argumentName, T enumValue) where T : struct, Enum
 {
     return(BEnum.InvalidEnumArgumentException(argumentName, enumValue));
 }
コード例 #2
0
 public static EnumSet <T> OfAllValues <T>() where T : struct, Enum
 {
     return(new EnumSet <T>(BEnum.GetValues <T>()));
 }