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

PrefixOperator takes a single constraint and modifies it's action in some way.
Inheritance: ConstraintOperator
Exibir arquivo Open project: Unity-Technologies/nunitv2

Public Methods

Method Description
ApplyPrefix ( Constraint constraint ) : Constraint

Returns the constraint created by applying this prefix to another constraint.

Reduce ( ConstraintBuilder stack ) : void

Reduce produces a constraint from the operator and any arguments. It takes the arguments from the constraint stack and pushes the resulting constraint on it.

Method Details

ApplyPrefix() public abstract method

Returns the constraint created by applying this prefix to another constraint.
public abstract ApplyPrefix ( Constraint constraint ) : Constraint
constraint Constraint
return Constraint

Reduce() public method

Reduce produces a constraint from the operator and any arguments. It takes the arguments from the constraint stack and pushes the resulting constraint on it.
public Reduce ( ConstraintBuilder stack ) : void
stack ConstraintBuilder
return void