Method | Description | |
---|---|---|
ArgumentNotNull ( object value, string name ) : void |
Throws an exception if an argument is null
|
|
ArgumentNotNullOrEmpty ( string value, string name ) : void |
Throws an exception if a string argument is null or empty
|
public static ArgumentNotNull ( object value, string name ) : void | ||
value | object | The value to be tested |
name | string | The name of the argument |
return | void |
public static ArgumentNotNullOrEmpty ( string value, string name ) : void | ||
value | string | The value to be tested |
name | string | The name of the argument |
return | void |