Summary
Changes error in each element od candidate.
- Namespace
- FluentSpecification
.Common .Abstractions - Containing Type
- Base
Collection Specification <T, TType>
Syntax
[PublicAPI]
[NotNull]
[ItemNotNull]
protected IEnumerable<FailedSpecification> CreateFailedSpecifications(IReadOnlyCollection<FailedSpecification> failedSpecifications, int idx)
Remarks
Method adds prefix with index "[idx] " to each error message.
Attributes
Type | Description |
---|---|
PublicAPI | |
NotNull | |
ItemNotNull |
Parameters
Name | Type | Description |
---|---|---|
failedSpecifications | IReadOnlyCollection |
Candidate element FailedSpecification collection. |
idx | int | Current element index. |
Return Value
Type | Description |
---|---|
IEnumerable |
New FailedSpecification collection with correct error messages. |