Summary
Checks if
Specification
is satisfied by candidate elements.
Elements are verified by TType Specification
.
Returns validation result no matter is satisfied or not.
- Namespace
- FluentSpecification
.Common .Abstractions - Containing Type
- Base
Collection Specification <T, TType>
Syntax
[PublicAPI]
public bool IsSatisfiedBy(T candidate, out SpecificationResult result)
Attributes
Type | Description |
---|---|
PublicAPI |
Parameters
Name | Type | Description |
---|---|---|
candidate | T | Candidate with TType elements to verification. |
result | SpecificationResult |
Contains validation summary - errors, types of all executed Specifications
and trace message in the style of Boole algebra.
|
Return Value
Type | Description |
---|---|
bool |
true - false - is not satisfied or candidate is null. |