C# Class PclUnit.Constraints.Pieces.ReusableConstraint

ReusableConstraint wraps a resolved constraint so that it may be saved and reused as needed.
Inheritance: IResolveConstraint
Datei anzeigen Open project: jbtule/PclUnit

Public Methods

Method Description
Resolve ( ) : Constraint

Resolves the ReusableConstraint by returning the constraint that it originally wrapped.

ReusableConstraint ( IResolveConstraint c )

Construct a ReusableConstraint

ToString ( ) : string

Returns the string representation of the constraint.

Method Details

Resolve() public method

Resolves the ReusableConstraint by returning the constraint that it originally wrapped.
public Resolve ( ) : Constraint
return Constraint

ReusableConstraint() public method

Construct a ReusableConstraint
public ReusableConstraint ( IResolveConstraint c )
c IResolveConstraint The constraint or expression to be reused

ToString() public method

Returns the string representation of the constraint.
public ToString ( ) : string
return string