Table of Contents

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

message Message<TPayload>
Predicate used to decide whether a message should pass through the filter.
context MessageContext
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.