Search Results for

    Show / Hide Table of Contents

    Class SomeOperator

    Represents a constraint that succeeds if any of the members of a collection match a base constraint.

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

    Constructors

    View Source

    SomeOperator()

    Declaration
    public SomeOperator()

    Methods

    View Source

    ApplyPrefix(IConstraint)

    Returns a constraint that will apply the argument to the members of a collection, succeeding if any of them succeed.

    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