示例#1
0
 public static void ThrowExceptionWhenIsNegative(Expression <Func <object> > paramExpression)
 {
     Validators.ThrowExceptionWhenIsNull("paramExpression", (object)paramExpression);
     Validators.ThrowExceptionWhenIsNegative(Validators.GetParamName(paramExpression), (int)Validators.GetParamValue(paramExpression));
 }