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
messageMessage<TPayload>- Predicate used to decide whether a dynamic route matches.
contextMessageContext- Predicate used to decide whether a dynamic route matches.
Returns
- bool
- Predicate used to decide whether a dynamic route matches.