Search Results for

    Show / Hide Table of Contents

    Class BinaryConstraint

    BinaryConstraint is the abstract base of all constraints that combine two other constraints in some fashion.

    Inheritance
    object
    Constraint
    BinaryConstraint
    AndConstraint
    OrConstraint
    Implements
    IConstraint
    IResolveConstraint
    Inherited Members
    Constraint.ApplyTo<TActual>(TActual)
    Constraint.ApplyTo<TActual>(ActualValueDelegate<TActual>)
    Constraint.ApplyTo<TActual>(ref TActual)
    Constraint.ApplyToAsync<TActual>(Func<Task<TActual>>)
    Constraint.GetTestObject<TActual>(ActualValueDelegate<TActual>)
    Constraint.ToString()
    Constraint.GetStringRepresentation(IEnumerable)
    Constraint.GetStringRepresentation()
    Constraint.After(int)
    Constraint.After(int, int)
    Constraint.DisplayName
    Constraint.Description
    Constraint.Arguments
    Constraint.Builder
    Constraint.And
    Constraint.With
    Constraint.Or
    object.GetType()
    object.MemberwiseClone()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: NUnit.Framework.Constraints
    Assembly: nunit.framework.dll
    Syntax
    public abstract class BinaryConstraint : Constraint, IConstraint, IResolveConstraint

    Constructors

    View Source

    BinaryConstraint(IConstraint, IConstraint)

    Construct a BinaryConstraint from two other constraints

    Declaration
    protected BinaryConstraint(IConstraint left, IConstraint right)
    Parameters
    Type Name Description
    IConstraint left

    The first constraint

    IConstraint right

    The second constraint

    Fields

    View Source

    Left

    The first constraint being combined

    Declaration
    protected IConstraint Left
    Field Value
    Type Description
    IConstraint
    View Source

    Right

    The second constraint being combined

    Declaration
    protected IConstraint Right
    Field Value
    Type Description
    IConstraint

    Implements

    IConstraint
    IResolveConstraint
    • 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