コード例 #1
0
ファイル: Validators.cs プロジェクト: lhorcajada/PDF
 public static void ThrowExceptionWhenNotInEnum(Expression <Func <object> > paramExpression, Type enumType)
 {
     Validators.ThrowExceptionWhenIsNull("paramExpression", (object)paramExpression);
     Validators.ThrowExceptionWhenNotInEnum(Validators.GetParamName(paramExpression), Validators.GetParamValue(paramExpression), enumType);
 }