Table of Contents

Delegate DynamicRouter<TPayload, TResult>.RoutePredicate

Namespace
PatternKit.Messaging.Routing
Assembly
PatternKit.Core.dll

Predicate used to decide whether a dynamic route matches.

public delegate bool DynamicRouter<TPayload, TResult>.RoutePredicate(Message<TPayload> message, MessageContext context)

Parameters

message Message<TPayload>
Predicate used to decide whether a dynamic route matches.
context MessageContext
Predicate used to decide whether a dynamic route matches.

Returns

bool
Predicate used to decide whether a dynamic route matches.