Summary
Create result with trace, for single
Specification with custom errors.
- Namespace
- FluentSpecification
.Abstractions .Validation - Containing Type
- SpecificationResult
Syntax
[PublicAPI]
public SpecificationResult(bool overallResult, string[] errors, string trace, params FailedSpecification[] failedSpecifications)
Attributes
| Type | Description |
|---|---|
| PublicAPI |
Parameters
| Name | Type | Description |
|---|---|---|
| overallResult | bool | Overall result returned by IsSatisfiedBy or IsNotSatisfiedBy method. |
| errors | string[] | Custom errors collection, independent of failedSpecifications. |
| trace | string |
Trace message. Should contains short identifier of executed |
| failedSpecifications | Failed |
List of failed For definition of "failed" see |
Return Value
| Type | Description |
|---|---|
| void |

