Метод | Описание | |
---|---|---|
IsNotNull ( object parameter, string parameterName ) : void |
Checks if parameter is not null. Throws ArgumentNullException with name of parameter if null
|
|
IsString ( object value, string paramterName ) : void |
Checks if the value is a type of String object. Throws ArgumentException if value is not a String type object.
|
public static IsNotNull ( object parameter, string parameterName ) : void | ||
parameter | object | The parameter value to check. |
parameterName | string | The name of the parameter. |
Результат | void |
public static IsString ( object value, string paramterName ) : void | ||
value | object | The object to check. |
paramterName | string | The name of the parameter. |
Результат | void |