Skip to content

ImplicitStreamSubscriptionAttribute.ImplicitStreamSubscriptionAttribute(IStreamNamespacePredicate, string?)

ImplicitStreamSubscriptionAttribute(IStreamNamespacePredicate, string?)

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

Parameters

predicateIStreamNamespacePredicate
The stream namespace predicate.
streamIdMapperstring?
The name of the stream identity mapper.