ImplicitChannelSubscriptionAttribute
class
Namespace: Orleans
The [Orleans.ImplicitStreamSubscription] attribute is used to mark grains as implicit stream subscriptions.
public class ImplicitChannelSubscriptionAttribute : Attribute, IGrainBindingsProviderAttributeConstructors
ImplicitChannelSubscriptionAttributeUsed to subscribe to all stream namespaces.ImplicitChannelSubscriptionAttribute(IChannelNamespacePredicate, string)Allows to pass an instance of the stream namespace predicate. To be used mainly as an extensibility point via inheriting attributes.ImplicitChannelSubscriptionAttribute(Type, string)Allows to pass an arbitrary predicate type to filter stream namespaces to subscribe. The predicate type must have a constructor without parameters.ImplicitChannelSubscriptionAttribute(string, string)Used to subscribe to the specified stream namespace.
Properties
ChannelIdMapperGets the name of the channel identifier mapper.PredicateGets the stream namespace filter predicate.
Methods
GetBindings(IServiceProvider, Type, GrainType)Gets bindings for the type this attribute is attached to.
