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

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

Méthodes publiques

Méthode 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 méthode

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

ReusableConstraint() public méthode

Construct a ReusableConstraint from a constraint expression
public ReusableConstraint ( IResolveConstraint c ) : System
c IResolveConstraint The expression to be resolved and reused
Résultat System

ToString() public méthode

Returns the string representation of the constraint.
public ToString ( ) : string
Résultat string