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

Abstract base class for all binary operators
Inheritance: ConstraintOperator
Datei anzeigen Open project: Unity-Technologies/nunitv2

Public Methods

Method Description
ApplyOperator ( Constraint left, Constraint right ) : Constraint

Abstract method that produces a constraint by applying the operator to its left and right constraint arguments.

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

ApplyOperator() public abstract method

Abstract method that produces a constraint by applying the operator to its left and right constraint arguments.
public abstract ApplyOperator ( Constraint left, Constraint right ) : Constraint
left Constraint
right 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