Search Results for

    Show / Hide Table of Contents

    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.

    Inheritance
    object
    ConstraintOperator
    PrefixOperator
    WithOperator
    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 WithOperator : PrefixOperator

    Constructors

    View Source

    WithOperator()

    Constructor for the WithOperator

    Declaration
    public WithOperator()

    Methods

    View Source

    ApplyPrefix(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
    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