Method | Description | |
---|---|---|
ArgumentInRange ( int value, int minValue, int maxValue, string name ) : void | ||
ArgumentInRange ( int value, int minValue, string name ) : void | ||
ArgumentNonNegative ( int value, string name ) : void | ||
ArgumentNotEmptyString ( string value, string name ) : void |
Checks a string argument to ensure it isn't null or empty.
|
|
ArgumentNotNull ( object value, string name ) : void | ||
InUnitTestRunner ( ) : bool |
public static ArgumentInRange ( int value, int minValue, int maxValue, string name ) : void | ||
value | int | |
minValue | int | |
maxValue | int | |
name | string | |
return | void |
public static ArgumentInRange ( int value, int minValue, string name ) : void | ||
value | int | |
minValue | int | |
name | string | |
return | void |
public static ArgumentNonNegative ( int value, string name ) : void | ||
value | int | |
name | string | |
return | void |
public static ArgumentNotEmptyString ( string value, string name ) : void | ||
value | string | The argument value to check. |
name | string | The name of the argument. |
return | void |
public static ArgumentNotNull ( object value, string name ) : void | ||
value | object | |
name | string | |
return | void |