PrefixOperator Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
PrefixOperator takes a single constraint and modifies it's action in some way.
public abstract class PrefixOperator : NUnit.Framework.Constraints.ConstraintOperator
type PrefixOperator = class
inherit ConstraintOperator
- Inheritance
- Derived
Constructors
PrefixOperator() |
Fields
left_precedence |
The precedence value used when the operator is about to be pushed to the stack. (Inherited from ConstraintOperator) |
right_precedence |
The precedence value used when the operator is on the top of the stack. (Inherited from ConstraintOperator) |
Properties
LeftContext |
The syntax element preceding this operator (Inherited from ConstraintOperator) |
LeftPrecedence |
The precedence value used when the operator is about to be pushed to the stack. (Inherited from ConstraintOperator) |
RightContext |
The syntax element folowing this operator (Inherited from ConstraintOperator) |
RightPrecedence |
The precedence value used when the operator is on the top of the stack. (Inherited from ConstraintOperator) |
Methods
ApplyPrefix(Constraint) |
Returns the constraint created by applying this prefix to another constraint. |
Reduce(ConstraintBuilder+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. |