ThrowsNothingConstraint.

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
ThrowsNothingConstraint

Syntax

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

Type Parameters

Name Description
T

Parameters

Name Type Description
del ActualValueDelegate<T> An ActualValueDelegate

Return Value

Type Description
ConstraintResult A ConstraintResult