Edit

CollectionOperator Class

Definition

Abstract base for operators that indicate how to apply a constraint to items in a collection.

public abstract class CollectionOperator : NUnit.Framework.Constraints.PrefixOperator
type CollectionOperator = class
    inherit PrefixOperator
Inheritance
Derived

Constructors

Name Description
CollectionOperator()

Constructs a CollectionOperator

Fields

Name Description
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

Name Description
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

Name Description
ApplyPrefix(Constraint)

Returns the constraint created by applying this prefix to another constraint.

(Inherited from PrefixOperator)
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.

(Inherited from PrefixOperator)

Applies to