Summary
Contains flatten information about failed
Specification
in SpecificationResult
.
All composed Specifications
must be split into separate FailedSpecification
objects.
- Namespace
- FluentSpecification
.Abstractions .Validation - Base Types
-
- object
graph BT
Type-->Base0["object"]
Type["FailedSpecification"]
class Type type-node
Syntax
[PublicAPI]
public class FailedSpecification
Remarks
Normally FailedSpecification
means NOT satisfied ISpecification<T>
or satisfied INegatableSpecification<T>
Attributes
Type | Description |
---|---|
PublicAPI |
Constructors
Name | Summary |
---|---|
FailedSpecification |
Create complex FailedSpecification object.
|
FailedSpecification |
Create standard FailedSpecification object.
|
Properties
Name | Value | Summary |
---|---|---|
Candidate | object |
Used candidate.
|
Errors | IReadOnlyList |
Errors generated by
Specification .
|
Parameters | IReadOnlyDictionary |
Specification parameters used during candidate verification.
|
SpecificationType | Type |
Type of failed
Specification .
|