Summary
Helper class exposing properties and methods that form
part of the Constraint syntax.
Syntax
public class Is : Is_Syntax
Remarks
The actual syntactic elements are defined in the base class,
Is_Syntax, a partial class, with individual elements
distributed across multiple files.
Properties
| Name | Value | Summary |
|---|---|---|
| Empty | EmptyConstraint |
Returns a constraint that tests for empty
Inherited from Is_Syntax
static
|
| False | FalseConstraint |
Returns a constraint that tests for False
Inherited from Is_Syntax
static
|
| Negative | LessThanConstraint |
Returns a constraint that tests for a negative value
Inherited from Is_Syntax
static
|
| Null | NullConstraint |
Returns a constraint that tests for null
Inherited from Is_Syntax
static
|
| Positive | Greater |
Returns a constraint that tests for a positive value
Inherited from Is_Syntax
static
|
| True | TrueConstraint |
Returns a constraint that tests for True
Inherited from Is_Syntax
static
|
| Unique | Unique |
Returns a constraint that tests whether a collection
contains all unique items.
Inherited from Is_Syntax
static
|
| Zero | EqualConstraint |
Returns a constraint that tests if item is equal to zero
Inherited from Is_Syntax
static
|
Methods
| Name | Value | Summary |
|---|---|---|
| AtLeast |
Greater |
Returns a constraint that tests whether the
actual value is greater than or equal to the suppled argument
Inherited from Is_Syntax
static
|
| AtMost |
Less |
Returns a constraint that tests whether the
actual value is less than or equal to the suppled argument
Inherited from Is_Syntax
static
|
| EqualTo |
EqualConstraint |
Returns a constraint that tests two items for equality
Inherited from Is_Syntax
static
|
| EquivalentTo |
Collection |
Returns a constraint that tests whether the actual value
is a collection containing the same elements as the
collection supplied as an argument.
Inherited from Is_Syntax
static
|
| GreaterThan |
Greater |
Returns a constraint that tests whether the
actual value is greater than the suppled argument
Inherited from Is_Syntax
static
|
| GreaterThanOrEqualTo |
Greater |
Returns a constraint that tests whether the
actual value is greater than or equal to the suppled argument
Inherited from Is_Syntax
static
|
| InRange |
RangeConstraint |
Returns a constraint that tests whether the actual value falls
within a specified range.
Inherited from Is_Syntax
static
|
| InstanceOf |
Instance |
Returns a constraint that tests whether the actual value
is of the type supplied as an argument or a derived type.
Inherited from Is_Syntax
static
|
| InstanceOf |
Instance |
Returns a constraint that tests whether the actual value
is of the type supplied as an argument or a derived type.
Inherited from Is_Syntax
static
|
| LessThan |
LessThanConstraint |
Returns a constraint that tests whether the
actual value is less than the suppled argument
Inherited from Is_Syntax
static
|
| LessThanOrEqualTo |
Less |
Returns a constraint that tests whether the
actual value is less than or equal to the suppled argument
Inherited from Is_Syntax
static
|
| SameAs |
SameAsConstraint |
Returns a constraint that tests that two references are the same object
Inherited from Is_Syntax
static
|
| TypeOf |
ExactTypeConstraint |
Returns a constraint that tests whether the actual
value is of the exact type supplied as an argument.
Inherited from Is_Syntax
static
|
| TypeOf |
ExactTypeConstraint |
Returns a constraint that tests whether the actual
value is of the exact type supplied as an argument.
Inherited from Is_Syntax
static
|
