StringConstraint.

ApplyConstraint<T>(T) Method

Summary

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

Syntax

protected override ConstraintResult ApplyConstraint<T>(T actual)

Type Parameters

Name Description
T

Parameters

Name Type Description
actual T The value to be tested

Return Value

Type Description
ConstraintResult True for success, false for failure