Search Results for

    Show / Hide Table of Contents

    Class NotOperator

    Negates the test of the constraint it wraps.

    Inheritance
    object
    ConstraintOperator
    PrefixOperator
    NotOperator
    Inherited Members
    PrefixOperator.Reduce(ConstraintBuilder.ConstraintStack)
    ConstraintOperator.left_precedence
    ConstraintOperator.right_precedence
    ConstraintOperator.LeftContext
    ConstraintOperator.RightContext
    ConstraintOperator.LeftPrecedence
    ConstraintOperator.RightPrecedence
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: NUnit.Framework.Constraints
    Assembly: nunit.framework.dll
    Syntax
    public class NotOperator : PrefixOperator

    Constructors

    View Source

    NotOperator()

    Constructs a new NotOperator

    Declaration
    public NotOperator()

    Methods

    View Source

    ApplyPrefix(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
    Overrides
    PrefixOperator.ApplyPrefix(IConstraint)
    • View Source
    In this article
    Back to top Generated by DocFX | Copyright (c) 2018- The NUnit Project - Licensed under CC BY-NC-SA 4.0