Table of Contents

Delegate ContentRouter<TPayload, TResult>.RoutePredicate

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

Predicate used to decide whether a route matches.

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

Parameters

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

Returns

bool
Predicate used to decide whether a route matches.