Constraint.

ApplyConstraint<T>(T) Method

Summary

Applies the constraint to the value to be tested and returns a ConstraintResult.
Namespace
TCLite.Constraints
Containing Type
Constraint

Syntax

protected abstract ConstraintResult ApplyConstraint<T>(T actual)

Remarks

The value has already been validated when this method is called.

Type Parameters

Name Description
T

Parameters

Name Type Description
actual T The value to be tested

Return Value

Type Description
ConstraintResult A ConstraintResult