Table of Contents

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

bool

RecipientName

public string RecipientName { get; }

Property Value

string

RejectionReason

public string? RejectionReason { get; }

Property Value

string

Response

public TResponse? Response { get; }

Property Value

TResponse

Methods

Failure(string)

public static ScatterGatherReply<TResponse> Failure(string rejectionReason)

Parameters

rejectionReason string

Returns

ScatterGatherReply<TResponse>

Success(TResponse)

public static ScatterGatherReply<TResponse> Success(TResponse response)

Parameters

response TResponse

Returns

ScatterGatherReply<TResponse>