IGLib
1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
|
ReusableConstraint wraps a constraint expression after resolving it so that it can be reused consistently. More...
Public Member Functions | |
ReusableConstraint (IResolveConstraint c) | |
Construct a ReusableConstraint from a constraint expression More... | |
override string | ToString () |
Returns a System.String that represents this instance. More... | |
IConstraint | Resolve () |
Return the top-level constraint for this expression More... | |
Static Public Member Functions | |
static implicit | operator ReusableConstraint (Constraint c) |
Converts a constraint to a ReusableConstraint More... | |
Private Attributes | |
readonly IConstraint | constraint |
ReusableConstraint wraps a constraint expression after resolving it so that it can be reused consistently.
|
inline |
Construct a ReusableConstraint from a constraint expression
c | The expression to be resolved and reused |
References NUnit.Framework.Constraints.IResolveConstraint.Resolve().
|
inlinestatic |
Converts a constraint to a ReusableConstraint
c | The constraint to be converted |
|
inline |
Returns a System.String that represents this instance.
|
inline |
Return the top-level constraint for this expression
Implements NUnit.Framework.Constraints.IResolveConstraint.
|
private |