Skip to content

IChannelNamespacePredicate Methods

Stream namespace predicate used for filtering implicit subscriptions using ImplicitChannelSubscriptionAttribute.

IsMatch(string)

abstract
public abstract bool IsMatch(string streamNamespace)
Defines if the consumer grain should subscribe to the specified namespace.

Parameters

streamNamespacestring
The target stream namespace to check.

Returns

true, if the grain should subscribe to the specified namespace; false, otherwise.