IBulkResponse<T> Interface
Represents the result of processing a single item in a bulk operation. Each response carries the correlation Identifier echoed from the corresponding request item and a Result<TValue> that models success or failure.
public interface IBulkResponse<T>Type parameters
Section titled “Type parameters”T
The type of the value produced per item on success.
Remarks
Section titled “Remarks”Implementations are created via IBulkResponseFactory and should not be constructed directly. Register IBulkResponseFactory via the container and inject it into your handler implementation.
Properties
Section titled “Properties”IBulkResponse<T>.Identifier Property
Section titled “IBulkResponse<T>.Identifier Property”The correlation identifier echoed from the corresponding request item, or null if none was provided.
string? Identifier { get; }Property Value
Section titled “Property Value”IBulkResponse<T>.Result Property
Section titled “IBulkResponse<T>.Result Property”The result of processing this item. A successful result contains the handler’s output value; a failure result contains the HakomException that describes the per-item error.
HAKOM.ErrorHandling.Core.Net.Api.Result<T> Result { get; }Property Value
Section titled “Property Value”Was this page helpful?Thanks for your feedback!