Summary
Apply the member constraints to an actual value, succeeding
succeeding as soon as one of them succeeds.
- Namespace
- TCLite
.Constraints - Containing Type
- OrConstraint
Syntax
protected override ConstraintResult ApplyConstraint<T>(T actual)
Type Parameters
Name | Description |
---|---|
T |
Parameters
Name | Type | Description |
---|---|---|
actual | T | The actual value |
Return Value
Type | Description |
---|---|
ConstraintResult | True if either constraint succeeded |