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