Class AsyncContentRouter<TPayload, TResult>.Builder.WhenBuilder
- Namespace
- PatternKit.Messaging.Routing
- Assembly
- PatternKit.Core.dll
Fluent route continuation.
public sealed class AsyncContentRouter<TPayload, TResult>.Builder.WhenBuilder
- Inheritance
-
AsyncContentRouter<TPayload, TResult>.Builder.WhenBuilder
- Inherited Members
Methods
Then(RouteHandler)
Adds the handler for the current predicate.
public AsyncContentRouter<TPayload, TResult>.Builder Then(AsyncContentRouter<TPayload, TResult>.RouteHandler handler)
Parameters
handlerAsyncContentRouter<TPayload, TResult>.RouteHandler
Returns
- AsyncContentRouter<TPayload, TResult>.Builder