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