Delegate ContentRouter<TPayload, TResult>.RoutePredicate
Predicate used to decide whether a route matches.
public delegate bool ContentRouter<TPayload, TResult>.RoutePredicate(Message<TPayload> message, MessageContext context)
Parameters
messageMessage<TPayload>- Predicate used to decide whether a route matches.
contextMessageContext- Predicate used to decide whether a route matches.
Returns
- bool
- Predicate used to decide whether a route matches.