Düzenle

Aracılığıyla paylaş


NotOperator Class

Definition

Negates the test of the constraint it wraps.

public class NotOperator : NUnit.Framework.Constraints.PrefixOperator
type NotOperator = class
    inherit PrefixOperator
Inheritance

Constructors

NotOperator()

Constructs a new NotOperator

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 NotConstraint applied to its argument.

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