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
- IConstraint
Syntax
ConstraintResult ApplyTo<TActual>(ActualValueDelegate<TActual> del)
Type Parameters
Name | Description |
---|---|
TActual |
Parameters
Name | Type | Description |
---|---|---|
del | ActualValueDelegate |
An ActualValueDelegate |
Return Value
Type | Description |
---|---|
ConstraintResult | A ConstraintResult |