Méthode | Description | |
---|---|---|
ArgumentNotNull ( object argumentValue, string argumentName ) : void |
Throws ArgumentNullException if the given argument is null.
|
|
ArgumentNotNullOrEmpty ( SecureString argumentValue, string argumentName ) : void |
Throws an exception if the tested SecureString argument is null or an empty string.
|
|
ArgumentNotNullOrEmpty ( string argumentValue, string argumentName ) : void |
Throws an exception if the tested string argument is null or an empty string.
|
|
ArgumentNotNullOrWhiteSpace ( string argumentValue, string argumentName ) : void |
Throws an exception if the tested string argument is null or a string that contains only whitespace.
|
public static ArgumentNotNull ( object argumentValue, string argumentName ) : void | ||
argumentValue | object | The argument value to test. |
argumentName | string | The name of the argument to test. |
Résultat | void |
public static ArgumentNotNullOrEmpty ( SecureString argumentValue, string argumentName ) : void | ||
argumentValue | SecureString | The argument value to test. |
argumentName | string | The name of the argument to test. |
Résultat | void |
public static ArgumentNotNullOrEmpty ( string argumentValue, string argumentName ) : void | ||
argumentValue | string | The argument value to test. |
argumentName | string | The name of the argument to test. |
Résultat | void |
public static ArgumentNotNullOrWhiteSpace ( string argumentValue, string argumentName ) : void | ||
argumentValue | string | The argument value to test. |
argumentName | string | The name of the argument to test. |
Résultat | void |