ThrowsExceptionConstraint.

ApplyConstraint<T>(ActualValueDelegate<T>) Method

Summary

Applies the constraint to an ActualValueDelegate that returns the value to be tested. The default implementation simply evaluates the delegate but derived classes may override it to provide for delayed processing.
Namespace
TCLite.Constraints
Containing Type
ThrowsExceptionConstraint

Syntax

protected override ConstraintResult ApplyConstraint<T>(ActualValueDelegate<T> del)

Type Parameters

Name Description
T

Parameters

Name Type Description
del ActualValueDelegate<T>

Return Value

Type Description
ConstraintResult