C# Class NUnit.Framework.Constraints.BinaryOperator

Abstract base class for all binary operators
Inheritance: NUnit.Framework.Constraints.ConstraintOperator
Mostra file Open project: nunit/nunit

Public Methods

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

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

Reduce ( NUnit.Framework.Constraints.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 ( IConstraint left, IConstraint right ) : IConstraint
left IConstraint
right IConstraint
return IConstraint

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 ( NUnit.Framework.Constraints.ConstraintBuilder stack ) : void
stack NUnit.Framework.Constraints.ConstraintBuilder
return void