Class NotOperator
Negates the test of the constraint it wraps.
Inherited Members
Namespace: NUnit.Framework.Constraints
Assembly: nunit.framework.dll
Syntax
public class NotOperator : PrefixOperator
Constructors
View SourceNotOperator()
Constructs a new NotOperator
Declaration
public NotOperator()
Methods
View SourceApplyPrefix(IConstraint)
Returns a NotConstraint applied to its argument.
Declaration
public override IConstraint ApplyPrefix(IConstraint constraint)
Parameters
Type | Name | Description |
---|---|---|
IConstraint | constraint |
Returns
Type | Description |
---|---|
IConstraint |