Edit

AttributeOperator Class

Definition

Operator that tests for the presence of a particular attribute on a type and optionally applies further tests to the attribute.

public class AttributeOperator : NUnit.Framework.Constraints.SelfResolvingOperator
type AttributeOperator = class
    inherit SelfResolvingOperator
Inheritance

Constructors

Name Description
AttributeOperator(Type)

Construct an AttributeOperator for a particular Type

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
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.

Applies to