Méthode | Description | |
---|---|---|
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
|
Méthode | Description | |
---|---|---|
GetStringRepresentation ( ) : string |
Returns the string representation of this constraint
|
protected GetStringRepresentation ( ) : string | ||
Résultat | string |
public Matches ( object actual ) : bool | ||
actual | object | The value to be tested |
Résultat | bool |
public WriteActualValueTo ( |
||
writer | The writer on which the actual value is displayed | |
Résultat | void |
public WriteDescriptionTo ( |
||
writer | The writer on which the description is displayed | |
Résultat | void |