StringConstraint.

Matches(string) Method

Summary

Test whether the constraint is satisfied by a given string
Namespace
TCLite.Constraints
Containing Type
StringConstraint

Syntax

protected abstract bool Matches(string actual)

Parameters

Name Type Description
actual string The string to be tested

Return Value

Type Description
bool True for success, false for failure