Skip to content

ImplicitChannelSubscriptionAttribute.ImplicitChannelSubscriptionAttribute(IChannelNamespacePredicate, string?)

ImplicitChannelSubscriptionAttribute(IChannelNamespacePredicate, string?)

View source
public ImplicitChannelSubscriptionAttribute(IChannelNamespacePredicate predicate, string? channelIdMapper = null)
Allows to pass an instance of the stream namespace predicate. To be used mainly as an extensibility point via inheriting attributes.

Parameters

predicateIChannelNamespacePredicate
The stream namespace predicate.
channelIdMapperstring?
The name of the stream identity mapper.