Метод | Описание | |
---|---|---|
Matches ( object actual ) : bool |
Test whether the constraint is satisfied by a given value
|
|
WriteActualValueTo ( |
Write the actual value for a failing constraint test to a MessageWriter. The default implementation simply writes the raw value of actual, leaving it to the writer to perform any formatting.
|
|
WriteDescriptionTo ( |
Write the constraint description to a MessageWriter
|
Метод | Описание | |
---|---|---|
GetStringRepresentation ( ) : string |
Returns the string representation of this constraint
|
protected GetStringRepresentation ( ) : string | ||
Результат | string |
public Matches ( object actual ) : bool | ||
actual | object | The value to be tested |
Результат | bool |
public WriteActualValueTo ( |
||
writer | The writer on which the actual value is displayed | |
Результат | void |
public WriteDescriptionTo ( |
||
writer | The writer on which the description is displayed | |
Результат | void |