Class ScatterGatherReply<TResponse>
- Namespace
- PatternKit.Messaging.Routing
- Assembly
- PatternKit.Core.dll
Reply captured from one scatter-gather recipient.
public sealed class ScatterGatherReply<TResponse>
Type Parameters
TResponse
- Inheritance
-
ScatterGatherReply<TResponse>
- Inherited Members
Properties
Accepted
public bool Accepted { get; }
Property Value
RecipientName
public string RecipientName { get; }
Property Value
RejectionReason
public string? RejectionReason { get; }
Property Value
Response
public TResponse? Response { get; }
Property Value
- TResponse
Methods
Failure(string)
public static ScatterGatherReply<TResponse> Failure(string rejectionReason)
Parameters
rejectionReasonstring
Returns
- ScatterGatherReply<TResponse>
Success(TResponse)
public static ScatterGatherReply<TResponse> Success(TResponse response)
Parameters
responseTResponse
Returns
- ScatterGatherReply<TResponse>