BasicConstraint public abstract class BasicConstraint : Constraint BasicConstraint is the abstract base for constraints that perform a simple comparison to a constant value. Documentation protected BasicConstraint(object expected, string description) Initializes a new instance of the BasicConstraint class.