Class NoneOperator
Represents a constraint that succeeds if none of the members of a collection match a base constraint.
Inherited Members
Namespace: NUnit.Framework.Constraints
Assembly: nunit.framework.dll
Syntax
public class NoneOperator : CollectionOperator
Constructors
View SourceNoneOperator()
Declaration
public NoneOperator()
Methods
View SourceApplyPrefix(IConstraint)
Returns a constraint that will apply the argument to the members of a collection, succeeding if none of them succeed.
Declaration
public override IConstraint ApplyPrefix(IConstraint constraint)
Parameters
Type | Name | Description |
---|---|---|
IConstraint | constraint |
Returns
Type | Description |
---|---|
IConstraint |