SubstringConstraint.

Matches(string) Method

Summary

Test whether the constraint is satisfied by a given value
Namespace
TCLite.Constraints
Containing Type
SubstringConstraint

Syntax

protected override bool Matches(string actual)

Parameters

Name Type Description
actual string The value to be tested

Return Value

Type Description
bool True for success, false for failure