Property | Type | Description | |
---|---|---|---|
RaiseErrorOnNull | bool |
Method | 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.
|
Method | 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. |
return | bool |
protected IsWhitespace ( object value ) : bool | ||
value | object | The value to check. |
return | bool |
public OnParameterPrecondition ( |
||
parameter | The parameter metadata. | |
value | object | The parameter value. |
return | void |
public OnReturnValuePrecondition ( |
||
returnValue | The return value metadata. | |
value | object | The return value. |
return | void |