Class InsteadOperator
Operator that replaces the left constraint with the right constraint
Inherited Members
Namespace: NUnit.Framework.Constraints
Assembly: nunit.framework.dll
Syntax
public class InsteadOperator : BinaryOperator
Constructors
View SourceInsteadOperator()
Construct an InsteadOperator
Declaration
public InsteadOperator()
Methods
View SourceApplyOperator(IConstraint, IConstraint)
Apply the operator to replace the left constraint
Declaration
public override IConstraint ApplyOperator(IConstraint left, IConstraint right)
Parameters
Type | Name | Description |
---|---|---|
IConstraint | left | |
IConstraint | right |
Returns
Type | Description |
---|---|
IConstraint |