Class WithOperator
Represents a constraint that simply wraps the constraint provided as an argument, without any further functionality, but which modifies the order of evaluation because of its precedence.
Inherited Members
Namespace: NUnit.Framework.Constraints
Assembly: nunit.framework.dll
Syntax
public class WithOperator : PrefixOperator
Constructors
View SourceWithOperator()
Constructor for the WithOperator
Declaration
public WithOperator()
Methods
View SourceApplyPrefix(IConstraint)
Returns a constraint that wraps its argument
Declaration
public override IConstraint ApplyPrefix(IConstraint constraint)
Parameters
Type | Name | Description |
---|---|---|
IConstraint | constraint |
Returns
Type | Description |
---|---|
IConstraint |