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