Constraint.

ApplyTo<T>(ActualValueDelegate<T>) Method

Summary

Validates the ActualValueDelegate and applies the constraint to the value it returns.
Namespace
TCLite.Constraints
Containing Type
Constraint

Syntax

public ConstraintResult ApplyTo<T>(ActualValueDelegate<T> del)

Type Parameters

Name Description
T

Parameters

Name Type Description
del ActualValueDelegate<T> The delegate to be evaluated and tested

Return Value

Type Description
ConstraintResult A ConstraintResult