Edit

Share via


ImplicitStreamSubscriptionAttribute Class

Definition

The [Orleans.ImplicitStreamSubscription] attribute is used to mark grains as implicit stream subscriptions.

[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)]
public class ImplicitStreamSubscriptionAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)]
public class ImplicitStreamSubscriptionAttribute : Attribute, Orleans.Metadata.IGrainBindingsProviderAttribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)>]
type ImplicitStreamSubscriptionAttribute = class
    inherit Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)>]
type ImplicitStreamSubscriptionAttribute = class
    inherit Attribute
    interface IGrainBindingsProviderAttribute
Public Class ImplicitStreamSubscriptionAttribute
Inherits Attribute
Public Class ImplicitStreamSubscriptionAttribute
Inherits Attribute
Implements IGrainBindingsProviderAttribute
Inheritance
ImplicitStreamSubscriptionAttribute
Derived
Attributes
Implements

Constructors

ImplicitStreamSubscriptionAttribute()

Used to subscribe to all stream namespaces.

ImplicitStreamSubscriptionAttribute(IStreamNamespacePredicate)

Allows to pass an instance of the stream namespace predicate. To be used mainly as an extensibility point via inheriting attributes.

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(String)

Used to subscribe to the specified stream namespace.

ImplicitStreamSubscriptionAttribute(String, String)

Used to subscribe to the specified stream namespace.

ImplicitStreamSubscriptionAttribute(Type)

Allows to pass an arbitrary predicate type to filter stream namespaces to subscribe. The predicate type must have a constructor without parameters.

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.

Properties

Predicate

Gets the stream namespace filter predicate.

StreamIdMapper

Gets the name of the stream identifier mapper.

Methods

GetBindings(IServiceProvider, Type, GrainType)

Gets bindings for the type this attribute is attached to.

Applies to