Summary
Syntax
[PublicAPI]
[NotNull]
protected virtual SpecificationResult CreateResult(T candidate, bool isSatisfiedBy)
Result contains:
-
trace message
-
FailedSpecification
-
error message
-
parameters
Attributes
| Type |
Description |
| PublicAPI |
|
| NotNull |
|
Parameters
| Name |
Type |
Description |
| candidate |
T |
Candidate object to verification. |
| isSatisfiedBy |
bool |
Overall result is Specification satisfied by candidate. |
Return Value
| Type |
Description |
| SpecificationResult |
Validation object based on overall result and candidate content. |