Show / Hide Table of Contents

Class ImplicitStreamSubscriptionAttribute

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

Inheritance
System.Object
ImplicitStreamSubscriptionAttribute
RegexImplicitStreamSubscriptionAttribute
Namespace: Orleans
Assembly: Orleans.Core.Abstractions.dll
Syntax
public class ImplicitStreamSubscriptionAttribute : Attribute

Constructors

| Improve this Doc View Source

ImplicitStreamSubscriptionAttribute()

Used to subscribe to all stream namespaces.

Declaration
public ImplicitStreamSubscriptionAttribute()
| Improve this Doc View Source

ImplicitStreamSubscriptionAttribute(IStreamNamespacePredicate)

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

Declaration
public ImplicitStreamSubscriptionAttribute(IStreamNamespacePredicate predicate)
Parameters
Type Name Description
IStreamNamespacePredicate predicate

The stream namespace predicate.

| Improve this Doc View Source

ImplicitStreamSubscriptionAttribute(String)

Used to subscribe to the specified stream namespace.

Declaration
public ImplicitStreamSubscriptionAttribute(string streamNamespace)
Parameters
Type Name Description
System.String streamNamespace

The stream namespace to subscribe.

| Improve this Doc View Source

ImplicitStreamSubscriptionAttribute(Type)

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

Declaration
public ImplicitStreamSubscriptionAttribute(Type predicateType)
Parameters
Type Name Description
Type predicateType

The stream namespace predicate type.

Properties

| Improve this Doc View Source

Predicate

Gets the stream namespace filter predicate.

Declaration
public IStreamNamespacePredicate Predicate { get; }
Property Value
Type Description
IStreamNamespacePredicate

Extension Methods

ImmutableExt.AsImmutable<T>(T)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX