Search Results for

    Show / Hide Table of Contents

    Class Subscription<TSubscriber, TClassifier>

    Represents a Subscription to the EventBus.

    Inheritance
    object
    Subscription<TSubscriber, TClassifier>
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Akka.Event
    Assembly: Akka.dll
    Syntax
    public class Subscription<TSubscriber, TClassifier>
    Type Parameters
    Name Description
    TSubscriber

    The type of the subscriber.

    TClassifier

    The type of the classifier.

    Constructors

    | Edit this page View Source

    Subscription(TSubscriber)

    Initializes a new instance of the Subscription<TSubscriber, TClassifier> class.

    Declaration
    public Subscription(TSubscriber subscriber)
    Parameters
    Type Name Description
    TSubscriber subscriber

    The subscriber.

    | Edit this page View Source

    Subscription(TSubscriber, IEnumerable<TClassifier>)

    Initializes a new instance of the Subscription<TSubscriber, TClassifier> class.

    Declaration
    public Subscription(TSubscriber subscriber, IEnumerable<TClassifier> unsubscriptions)
    Parameters
    Type Name Description
    TSubscriber subscriber

    The subscriber.

    IEnumerable<TClassifier> unsubscriptions

    The unsubscriptions.

    Properties

    | Edit this page View Source

    Subscriber

    Gets the subscriber attached to this subscription.

    Declaration
    public TSubscriber Subscriber { get; }
    Property Value
    Type Description
    TSubscriber

    The subscriber.

    | Edit this page View Source

    Unsubscriptions

    Gets the unsubscriptions of this particular subscription.

    Declaration
    public ISet<TClassifier> Unsubscriptions { get; }
    Property Value
    Type Description
    ISet<TClassifier>

    The unsubscriptions.

    Extension Methods

    ObjectExtensions.IsDefaultForType<T>(T)
    ObjectExtensions.AsOption<T>(T)
    Extensions.AsInstanceOf<T>(object)
    In this article
    • githubEdit this page
    • View Source
    Back to top
    Contribute
    • Project Chat
    • Discussion Forum
    • Source Code
    Support
    • Akka.NET Support Plans
    • Akka.NET Observability Tools
    • Akka.NET Training & Consulting
    Maintained By
    • Petabridge - The Akka.NET Company
    • Learn Akka.NET