Summary
Checks if
Specification
is satisfied by candidate object.
Returns validation result no matter is satisfied or not.
- Namespace
- FluentSpecification
.Abstractions .Generic - Containing Type
- I
Validation Specification <T>
Syntax
[PublicAPI]
bool IsSatisfiedBy(T candidate, out SpecificationResult result)
Attributes
Type | Description |
---|---|
PublicAPI |
Parameters
Name | Type | Description |
---|---|---|
candidate | T | Candidate object 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. result should contains errors. |