Summary
Contains summary of validation scenarios.
See
IValidationSpecification<T>
and INegatableValidationSpecification<T>
.
- Namespace
- FluentSpecification
.Abstractions .Validation - Base Types
-
- object
graph BT
Type-->Base0["object"]
Type["SpecificationResult"]
class Type type-node
Syntax
[PublicAPI]
public class SpecificationResult
Remarks
Contains information about
Specifications
chain and validation errors.Attributes
Type | Description |
---|---|
PublicAPI |
Constructors
Name | Summary |
---|---|
SpecificationResult |
Create "empty" result for successful single Specification .
|
SpecificationResult |
Create result for single Specification .
|
SpecificationResult |
Create result with trace, for single Specification .
|
SpecificationResult |
Create result for single Specification with custom errors.
|
SpecificationResult |
Create result with trace, for single Specification with custom errors.
|
SpecificationResult |
Create result for combined multiple Specifications .
|
SpecificationResult |
Create result for combined multiple Specifications with custom errors.
|
SpecificationResult |
Create "empty" result with trace, for successful single Specification .
|
Properties
Name | Value | Summary |
---|---|---|
Errors | IReadOnlyList |
All failed
Specifications errors.
|
FailedSpecifications | IReadOnlyList |
List of failed
Specifications .
|
Failed |
int |
Count of failed
Specifications .
|
OverallResult | bool |
Overall result returned by
IsSatisfiedBy or IsNotSatisfiedBy method.
|
Total |
int |
Count of all executed
Specifications in chain.
|
Trace | string |
Trace message.
|
Methods
Name | Value | Summary |
---|---|---|
ToString |
string |
Returns a string that represents the current object.
|