Свойство | Type | Description | |
---|---|---|---|
RaiseErrorOnNull | bool |
Méthode | Description | |
---|---|---|
OnParameterPrecondition ( |
Validate the requirement on a single method parameter or property setter value.
|
|
OnReturnValuePrecondition ( |
Validate the requirement on a method or property return value.
|
Méthode | Description | |
---|---|---|
IsNull ( object value ) : bool |
Get whether the value is
|
|
IsWhitespace ( object value ) : bool |
Get whether the value is a string which is empty or consists entirely of whitespace.
|
protected IsNull ( object value ) : bool | ||
value | object | The value to check. |
Résultat | bool |
protected IsWhitespace ( object value ) : bool | ||
value | object | The value to check. |
Résultat | bool |
public OnParameterPrecondition ( |
||
parameter | The parameter metadata. | |
value | object | The parameter value. |
Résultat | void |
public OnReturnValuePrecondition ( |
||
returnValue | The return value metadata. | |
value | object | The return value. |
Résultat | void |