Summary
The IConstraintExpression interface is implemented by all
complete and resolvable constraints and expressions.
- Namespace
- TCLite
.Constraints - Implementing Types
-
- EndsWithConstraint
- ExactCountConstraint
- Resolvable
Constraint Expression - AndConstraint
- PropertyConstraint
- Throws
Nothing Constraint - FalseConstraint
- SubstringConstraint
- ComparisonConstraint
<TExpected> - NotConstraint
- NullConstraint
- Unique
Items Constraint - PrefixConstraint
- Expected
Value Constraint <TExpected> - Property
Exists Constraint - StringConstraint
- Empty
Collection Constraint - Throws
Exception Constraint - Instance
Of Type Constraint - Empty
String Constraint - EmptyConstraint
- NoItemConstraint
- Less
Than Or Equal Constraint <TExpected> - ThrowsConstraint
- BinaryConstraint
- ConstraintBuilder
- Constraint
- TypeConstraint
- Collection
Equivalent Constraint - RangeConstraint
<TExpected> - SomeItemsConstraint
- AllItemsConstraint
- SameAsConstraint
<TExpected> - Collection
Items Equal Constraint - Greater
Than Constraint <TExpected> - ContainsConstraint
<TExpected> - OrConstraint
- ConditionConstraint
<TActual> - CollectionConstraint
- LessThanConstraint
<TExpected> - RegexConstraint
- ExactTypeConstraint
- TrueConstraint
- EqualConstraint
<TExpected> - Greater
Than Or Equal Constraint <TExpected> - StartsWithConstraint
- Exception
Type Constraint
graph BT
Type["IResolveConstraint"]
class Type type-node
Implementing0["EndsWithConstraint"]-.->Type
click Implementing0 "/tc-lite/api/TCLite.Constraints/EndsWithConstraint"
Implementing1["ExactCountConstraint"]-.->Type
click Implementing1 "/tc-lite/api/TCLite.Constraints/ExactCountConstraint"
Implementing2["ResolvableConstraintExpression"]-.->Type
click Implementing2 "/tc-lite/api/TCLite.Constraints/ResolvableConstraintExpression"
Implementing3["AndConstraint"]-.->Type
click Implementing3 "/tc-lite/api/TCLite.Constraints/AndConstraint"
Implementing4["PropertyConstraint"]-.->Type
click Implementing4 "/tc-lite/api/TCLite.Constraints/PropertyConstraint"
Implementing5["ThrowsNothingConstraint"]-.->Type
click Implementing5 "/tc-lite/api/TCLite.Constraints/ThrowsNothingConstraint"
Implementing6["FalseConstraint"]-.->Type
click Implementing6 "/tc-lite/api/TCLite.Constraints/FalseConstraint"
Implementing7["SubstringConstraint"]-.->Type
click Implementing7 "/tc-lite/api/TCLite.Constraints/SubstringConstraint"
Implementing8["ComparisonConstraint<TExpected>"]-.->Type
click Implementing8 "/tc-lite/api/TCLite.Constraints/ComparisonConstraint_1"
Implementing9["NotConstraint"]-.->Type
click Implementing9 "/tc-lite/api/TCLite.Constraints/NotConstraint"
Implementing10["NullConstraint"]-.->Type
click Implementing10 "/tc-lite/api/TCLite.Constraints/NullConstraint"
Implementing11["UniqueItemsConstraint"]-.->Type
click Implementing11 "/tc-lite/api/TCLite.Constraints/UniqueItemsConstraint"
Implementing12["PrefixConstraint"]-.->Type
click Implementing12 "/tc-lite/api/TCLite.Constraints/PrefixConstraint"
Implementing13["ExpectedValueConstraint<TExpected>"]-.->Type
click Implementing13 "/tc-lite/api/TCLite.Constraints/ExpectedValueConstraint_1"
Implementing14["PropertyExistsConstraint"]-.->Type
click Implementing14 "/tc-lite/api/TCLite.Constraints/PropertyExistsConstraint"
Implementing15["StringConstraint"]-.->Type
click Implementing15 "/tc-lite/api/TCLite.Constraints/StringConstraint"
Implementing16["EmptyCollectionConstraint"]-.->Type
click Implementing16 "/tc-lite/api/TCLite.Constraints/EmptyCollectionConstraint"
Implementing17["ThrowsExceptionConstraint"]-.->Type
click Implementing17 "/tc-lite/api/TCLite.Constraints/ThrowsExceptionConstraint"
Implementing18["InstanceOfTypeConstraint"]-.->Type
click Implementing18 "/tc-lite/api/TCLite.Constraints/InstanceOfTypeConstraint"
Implementing19["EmptyStringConstraint"]-.->Type
click Implementing19 "/tc-lite/api/TCLite.Constraints/EmptyStringConstraint"
Implementing20["EmptyConstraint"]-.->Type
click Implementing20 "/tc-lite/api/TCLite.Constraints/EmptyConstraint"
Implementing21["NoItemConstraint"]-.->Type
click Implementing21 "/tc-lite/api/TCLite.Constraints/NoItemConstraint"
Implementing22["LessThanOrEqualConstraint<TExpected>"]-.->Type
click Implementing22 "/tc-lite/api/TCLite.Constraints/LessThanOrEqualConstraint_1"
Implementing23["ThrowsConstraint"]-.->Type
click Implementing23 "/tc-lite/api/TCLite.Constraints/ThrowsConstraint"
Implementing24["BinaryConstraint"]-.->Type
click Implementing24 "/tc-lite/api/TCLite.Constraints/BinaryConstraint"
Implementing25["ConstraintBuilder"]-.->Type
click Implementing25 "/tc-lite/api/TCLite.Constraints/ConstraintBuilder"
Implementing26["Constraint"]-.->Type
click Implementing26 "/tc-lite/api/TCLite.Constraints/Constraint"
Implementing27["TypeConstraint"]-.->Type
click Implementing27 "/tc-lite/api/TCLite.Constraints/TypeConstraint"
Implementing28["CollectionEquivalentConstraint"]-.->Type
click Implementing28 "/tc-lite/api/TCLite.Constraints/CollectionEquivalentConstraint"
Implementing29["RangeConstraint<TExpected>"]-.->Type
click Implementing29 "/tc-lite/api/TCLite.Constraints/RangeConstraint_1"
Implementing30["SomeItemsConstraint"]-.->Type
click Implementing30 "/tc-lite/api/TCLite.Constraints/SomeItemsConstraint"
Implementing31["AllItemsConstraint"]-.->Type
click Implementing31 "/tc-lite/api/TCLite.Constraints/AllItemsConstraint"
Implementing32["SameAsConstraint<TExpected>"]-.->Type
click Implementing32 "/tc-lite/api/TCLite.Constraints/SameAsConstraint_1"
Implementing33["CollectionItemsEqualConstraint"]-.->Type
click Implementing33 "/tc-lite/api/TCLite.Constraints/CollectionItemsEqualConstraint"
Implementing34["GreaterThanConstraint<TExpected>"]-.->Type
click Implementing34 "/tc-lite/api/TCLite.Constraints/GreaterThanConstraint_1"
Implementing35["ContainsConstraint<TExpected>"]-.->Type
click Implementing35 "/tc-lite/api/TCLite.Constraints/ContainsConstraint_1"
Implementing36["OrConstraint"]-.->Type
click Implementing36 "/tc-lite/api/TCLite.Constraints/OrConstraint"
Implementing37["ConditionConstraint<TActual>"]-.->Type
click Implementing37 "/tc-lite/api/TCLite.Constraints/ConditionConstraint_1"
Implementing38["CollectionConstraint"]-.->Type
click Implementing38 "/tc-lite/api/TCLite.Constraints/CollectionConstraint"
Implementing39["LessThanConstraint<TExpected>"]-.->Type
click Implementing39 "/tc-lite/api/TCLite.Constraints/LessThanConstraint_1"
Implementing40["RegexConstraint"]-.->Type
click Implementing40 "/tc-lite/api/TCLite.Constraints/RegexConstraint"
Implementing41["ExactTypeConstraint"]-.->Type
click Implementing41 "/tc-lite/api/TCLite.Constraints/ExactTypeConstraint"
Implementing42["TrueConstraint"]-.->Type
click Implementing42 "/tc-lite/api/TCLite.Constraints/TrueConstraint"
Implementing43["EqualConstraint<TExpected>"]-.->Type
click Implementing43 "/tc-lite/api/TCLite.Constraints/EqualConstraint_1"
Implementing44["GreaterThanOrEqualConstraint<TExpected>"]-.->Type
click Implementing44 "/tc-lite/api/TCLite.Constraints/GreaterThanOrEqualConstraint_1"
Implementing45["StartsWithConstraint"]-.->Type
click Implementing45 "/tc-lite/api/TCLite.Constraints/StartsWithConstraint"
Implementing46["ExceptionTypeConstraint"]-.->Type
click Implementing46 "/tc-lite/api/TCLite.Constraints/ExceptionTypeConstraint"
Syntax
public interface IResolveConstraint
Properties
Name | Value | Summary |
---|---|---|
IsResolvable | bool |
Returns True if the constraint or expression is complete,
False if still under construction.
|
Methods
Name | Value | Summary |
---|---|---|
Resolve |
IConstraint |
Return the top-level constraint for the complete expression.
Throws InvalidOperationException if the expression is incomplete.
|