IGLib  1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
NUnit.Framework.Constraints.ReusableConstraint Class Reference

ReusableConstraint wraps a constraint expression after resolving it so that it can be reused consistently. More...

+ Inheritance diagram for NUnit.Framework.Constraints.ReusableConstraint:
+ Collaboration diagram for NUnit.Framework.Constraints.ReusableConstraint:

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
 

Detailed Description

ReusableConstraint wraps a constraint expression after resolving it so that it can be reused consistently.

Constructor & Destructor Documentation

NUnit.Framework.Constraints.ReusableConstraint.ReusableConstraint ( IResolveConstraint  c)
inline

Construct a ReusableConstraint from a constraint expression

Parameters
cThe expression to be resolved and reused

References NUnit.Framework.Constraints.IResolveConstraint.Resolve().

Member Function Documentation

static implicit NUnit.Framework.Constraints.ReusableConstraint.operator ReusableConstraint ( Constraint  c)
inlinestatic

Converts a constraint to a ReusableConstraint

Parameters
cThe constraint to be converted
Returns
A ReusableConstraint
override string NUnit.Framework.Constraints.ReusableConstraint.ToString ( )
inline

Returns a System.String that represents this instance.

Returns
A System.String that represents this instance.
IConstraint NUnit.Framework.Constraints.ReusableConstraint.Resolve ( )
inline

Return the top-level constraint for this expression

Returns

Implements NUnit.Framework.Constraints.IResolveConstraint.

Member Data Documentation

readonly IConstraint NUnit.Framework.Constraints.ReusableConstraint.constraint
private

The documentation for this class was generated from the following file: