Class PropOperator
- Namespace
- NUnit.Framework.Constraints
- Assembly
- nunit.framework.dll
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 : SelfResolvingOperator
- Inheritance
-
PropOperator
- Inherited Members
Constructors
PropOperator(string)
Constructs a PropOperator for a particular named property
public PropOperator(string name)
Parameters
name
string
Properties
Name
Gets the name of the property to which the operator applies
public string Name { get; }
Property Value
Methods
Reduce(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.
public override void Reduce(ConstraintBuilder.ConstraintStack stack)