Delegate MessageFilter<TPayload>.FilterPredicate
- Namespace
- PatternKit.Messaging.Routing
- Assembly
- PatternKit.Core.dll
Predicate used to decide whether a message should pass through the filter.
public delegate bool MessageFilter<TPayload>.FilterPredicate(Message<TPayload> message, MessageContext context)
Parameters
messageMessage<TPayload>- Predicate used to decide whether a message should pass through the filter.
contextMessageContext- Predicate used to decide whether a message should pass through the filter.
Returns
- bool
- Predicate used to decide whether a message should pass through the filter.