Summary
Test whether the constraint is matched by the actual value.
This is a template method, which calls the IsMatch method
of the derived class.
- Namespace
- TCLite
.Constraints - Containing Type
- EndsWithConstraint
Syntax
protected override bool Matches(string actual)
Parameters
| Name | Type | Description |
|---|---|---|
| actual | string |
Return Value
| Type | Description |
|---|---|
| bool |
