IConstraint
Interface for all constraints
Arguments provided to this Constraint, for use in
formatting the description.
The ConstraintBuilder holding this constraint
The Description of what this constraint tests, for
use in messages and in the ConstraintResult.
The display name of this Constraint for use by ToString().
Applies the constraint to an actual value, returning a ConstraintResult.
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.
Test whether the constraint is satisfied by a given reference.
The default implementation simply dereferences the value but
derived classes may override it to provide for delayed processing.