Method | Description | |
---|---|---|
Matches ( object actual ) : bool |
Test whether the constraint is satisfied by a given value
|
|
WriteDescriptionTo ( |
Write the constraint description to a MessageWriter
|
Method | Description | |
---|---|---|
BasicConstraint ( object expected, string description ) : System |
Initializes a new instance of the T:BasicConstraint class.
|
protected BasicConstraint ( object expected, string description ) : System | ||
expected | object | The expected. |
description | string | The description. |
return | System |
public Matches ( object actual ) : bool | ||
actual | object | The value to be tested |
return | bool |
public WriteDescriptionTo ( |
||
writer | The writer on which the description is displayed | |
return | void |