Метод | Описание | |
---|---|---|
AgainstArgumentNull ( object argument, string argumentName ) : void |
Verifies that the argument supplied by argument is not
|
|
AgainstNullOrEmptyString ( string argument, string argumentName ) : void |
Verifies that the argument supplied by argument is neither
|
|
ArgumentAssignableTo ( |
Verifies that the type supplied by argument is assignable to the type specified by assignmentTargetType.
|
public static AgainstArgumentNull ( object argument, string argumentName ) : void | ||
argument | object | The object to be checked. |
argumentName | string | The name of the object that will be used when raising an |
Результат | void |
public static AgainstNullOrEmptyString ( string argument, string argumentName ) : void | ||
argument | string | The object to be checked. |
argumentName | string | The name of the object that will be used when raising an |
Результат | void |
public static ArgumentAssignableTo ( |
||
argument | The type to be checked. | |
assignmentTargetType | The target type. | |
Результат | void |