C# Class UnityEngine.NUnit.Framework.Constraints.ResolvableConstraintExpression

ResolvableConstraintExpression is used to represent a compound constraint being constructed at a point where the last operator may either terminate the expression or may have additional qualifying constraints added to it. It is used, for example, for a Property element or for an Exception element, either of which may be optionally followed by constraints that apply to the property or exception.
Inheritance: ConstraintExpression, IResolveConstraint
Mostrar archivo Open project: Unity-Technologies/nunitv2

Public Methods

Method Description
ResolvableConstraintExpression ( ) : System

Create a new instance of ResolvableConstraintExpression

ResolvableConstraintExpression ( ConstraintBuilder builder ) : System

Create a new instance of ResolvableConstraintExpression, passing in a pre-populated ConstraintBuilder.

operator ( ) : Constraint

This operator creates a constraint that is satisfied only if both argument constraints are satisfied.

Private Methods

Method Description
IResolveConstraint ( ) : Constraint

Resolve the current expression to a Constraint

OperatorAndImplementation ( IResolveConstraint left, IResolveConstraint right ) : Constraint
OperatorOrImplementation ( IResolveConstraint left, IResolveConstraint right ) : Constraint

Method Details

ResolvableConstraintExpression() public method

Create a new instance of ResolvableConstraintExpression
public ResolvableConstraintExpression ( ) : System
return System

ResolvableConstraintExpression() public method

Create a new instance of ResolvableConstraintExpression, passing in a pre-populated ConstraintBuilder.
public ResolvableConstraintExpression ( ConstraintBuilder builder ) : System
builder ConstraintBuilder
return System

operator() public static method

This operator creates a constraint that is satisfied only if both argument constraints are satisfied.
public static operator ( ) : Constraint
return Constraint