Class PrefixOperator
- Namespace
- NUnit.Framework.Constraints
- Assembly
- nunit.framework.dll
PrefixOperator takes a single constraint and modifies it's action in some way.
public abstract class PrefixOperator : ConstraintOperator
- Inheritance
-
PrefixOperator
- Derived
- Inherited Members
Constructors
PrefixOperator()
protected PrefixOperator()
Methods
ApplyPrefix(IConstraint)
Returns the constraint created by applying this prefix to another constraint.
public abstract IConstraint ApplyPrefix(IConstraint constraint)
Parameters
constraintIConstraint
Returns
Reduce(ConstraintStack)
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 override void Reduce(ConstraintBuilder.ConstraintStack stack)