編輯

共用方式為


SomeOperator Class

Definition

Represents a constraint that succeeds if any of the members of a collection match a base constraint.

public class SomeOperator : NUnit.Framework.Constraints.CollectionOperator
type SomeOperator = class
    inherit CollectionOperator
Inheritance

Constructors

SomeOperator()

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 a constraint that will apply the argument to the members of a collection, succeeding if any of them succeed.

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