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
- Constraint
Syntax
protected virtual ConstraintResult ApplyConstraint<T>(ActualValueDelegate<T> del)
Remarks
The value has already been validated when this method is called.
Type Parameters
Name | Description |
---|---|
T |
Parameters
Name | Type | Description |
---|---|---|
del | ActualValueDelegate |
An ActualValueDelegate |
Return Value
Type | Description |
---|---|
ConstraintResult | A ConstraintResult |