PropOperator 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.
Operator used to test for the presence of a named Property on an object and optionally apply further tests to the value of that property.
public class PropOperator : NUnit.Framework.Constraints.SelfResolvingOperator
type PropOperator = class
inherit SelfResolvingOperator
- Inheritance
Constructors
PropOperator(String) |
Constructs a PropOperator for a particular named property |
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) |
Name |
Gets the name of the property to which the operator applies |
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
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. |