Exemplo n.º 1
0
 public static void ThrowExceptionWhenNotInEnum(Expression <Func <object> > paramExpression, Type enumType)
 {
     Validators.ThrowExceptionWhenIsNull("paramExpression", (object)paramExpression);
     Validators.ThrowExceptionWhenNotInEnum(Validators.GetParamName(paramExpression), Validators.GetParamValue(paramExpression), enumType);
 }