Edit

Share via


ImplicitChannelSubscriptionAttribute Class

Definition

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

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

Constructors

ImplicitChannelSubscriptionAttribute()

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

Used to subscribe to the specified stream namespace.

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.

Properties

ChannelIdMapper

Gets the name of the channel identifier mapper.

Predicate

Gets the stream namespace filter predicate.

Methods

GetBindings(IServiceProvider, Type, GrainType)

Gets bindings for the type this attribute is attached to.

Applies to