Table of Contents

Class ScatterGather<TRequest, TResponse, TResult>.Builder

Namespace
PatternKit.Messaging.Routing
Assembly
PatternKit.Core.dll
public sealed class ScatterGather<TRequest, TResponse, TResult>.Builder
Inheritance
ScatterGather<TRequest, TResponse, TResult>.Builder
Inherited Members

Methods

AddRecipient(string, RecipientHandler, RecipientPredicate?)

public ScatterGather<TRequest, TResponse, TResult>.Builder AddRecipient(string name, ScatterGather<TRequest, TResponse, TResult>.RecipientHandler handler, ScatterGather<TRequest, TResponse, TResult>.RecipientPredicate? predicate = null)

Parameters

name string
handler ScatterGather<TRequest, TResponse, TResult>.RecipientHandler
predicate ScatterGather<TRequest, TResponse, TResult>.RecipientPredicate

Returns

ScatterGather<TRequest, TResponse, TResult>.Builder

AggregateWith(ResponseAggregator)

public ScatterGather<TRequest, TResponse, TResult>.Builder AggregateWith(ScatterGather<TRequest, TResponse, TResult>.ResponseAggregator aggregator)

Parameters

aggregator ScatterGather<TRequest, TResponse, TResult>.ResponseAggregator

Returns

ScatterGather<TRequest, TResponse, TResult>.Builder

Build()

public ScatterGather<TRequest, TResponse, TResult> Build()

Returns

ScatterGather<TRequest, TResponse, TResult>