BinaryConstraint
BinaryConstraint is the abstract base of all constraints
that combine two other constraints in some fashion.
using System.Runtime.CompilerServices;
namespace NUnit.Framework.Constraints
{
[System.Runtime.CompilerServices.NullableContext(1)]
[System.Runtime.CompilerServices.Nullable(0)]
public abstract class BinaryConstraint : Constraint
{
protected IConstraint Left;
protected IConstraint Right;
protected BinaryConstraint(IConstraint left, IConstraint right)
: base(left, right)
{
Guard.ArgumentNotNull(left, "left");
Left = left;
Guard.ArgumentNotNull(right, "right");
Right = right;
}
}
}