<PackageReference Include="NUnit" Version="2.7.1" />

ConstraintExpressionBase

public abstract class ConstraintExpressionBase
ConstraintExpressionBase is the abstract base class for the ConstraintExpression class, which represents a compound constraint in the process of being constructed from a series of syntactic elements. NOTE: ConstraintExpressionBase is separate because the ConstraintExpression class was generated in earlier versions of NUnit. The two classes may be combined in a future version.

The ConstraintBuilder holding the elements recognized so far

Initializes a new instance of the ConstraintExpressionBase class.

Initializes a new instance of the ConstraintExpressionBase class passing in a ConstraintBuilder, which may be pre-populated.

Appends an operator to the expression and returns the resulting expression itself.

Appends a self-resolving operator to the expression and returns a new ResolvableConstraintExpression.

public Constraint Append(Constraint constraint)

Appends a constraint to the expression and returns that constraint, which is associated with the current state of the expression being built.