Exemple #1
0
 public static Exception ArgumentGreaterThanCount(string argumentName)
 {
     return(ExceptionBuilder.ArgumentOutOfRange(String.Format(CultureInfo.InvariantCulture, "{0} is greater than the number of elements.", argumentName)));
 }
Exemple #2
0
 public static Exception ArgumentLessThanZero(string argumentName)
 {
     return(ExceptionBuilder.ArgumentOutOfRange(String.Format(CultureInfo.InvariantCulture, "{0} is less than zero.", argumentName)));
 }