C# Class NUnit.Framework.Constraints.BinaryOperator

Abstract base class for all binary operators
Inheritance: NUnit.Framework.Constraints.ConstraintOperator
Afficher le fichier Open project: nunit/nunit

Méthodes publiques

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

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
Résultat IConstraint

Reduce() public méthode

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
Résultat void