Method | Description | |
---|---|---|
EndsWithConstraint ( string expected ) |
Initializes a new instance of the T:EndsWithConstraint class.
|
|
WriteDescriptionTo ( |
Write the constraint description to a MessageWriter
|
Method | Description | |
---|---|---|
Matches ( string actual ) : bool |
Test whether the constraint is matched by the actual value. This is a template method, which calls the IsMatch method of the derived class.
|
public EndsWithConstraint ( string expected ) | ||
expected | string | The expected string |
public WriteDescriptionTo ( |
||
writer | The writer on which the description is displayed | |
return | void |