C# Class UnityEngine.NUnit.Framework.Constraints.ReusableConstraint

ReusableConstraint wraps a constraint expression after resolving it so that it can be reused consistently.
Inheritance: IResolveConstraint
Mostrar archivo Open project: Unity-Technologies/nunitv2

Public Methods

Method Description
Resolve ( ) : Constraint

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

ReusableConstraint ( IResolveConstraint c ) : System

Construct a ReusableConstraint from a constraint expression

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 from a constraint expression
public ReusableConstraint ( IResolveConstraint c ) : System
c IResolveConstraint The expression to be resolved and reused
return System

ToString() public method

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