Skip to content

RegexChannelNamespacePredicate Methods

IChannelNamespacePredicate implementation allowing to filter stream namespaces by regular expression.

IsMatch(string)

View source
public 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.