Search Results for

    Show / Hide Table of Contents

    Class ExtensionIdProvider<T>

    This class represents the base provider implementation for creating, registering and retrieving extensions within an ActorSystem.

    Inheritance
    object
    ExtensionIdProvider<T>
    CoordinatedShutdownExtension
    ClusterExtension
    ClusterMetricsExtensionProvider
    ClusterShardingExtensionProvider
    ExternalShardAllocationExtensionProvider
    ShardedDaemonProcessExtensionProvider
    ClusterClientReceptionistExtensionProvider
    DistributedPubSubExtensionProvider
    ClusterSingletonProvider
    LeaseProviderExtensionProvider
    DependencyResolverExtension
    ServiceProviderExtension
    DiscoveryProvider
    ChannelTaskSchedulerProvider
    DistributedDataProvider
    Dns
    Tcp
    Udp
    UdpConnected
    PersistencePluginProxyExtension
    Persistence
    PersistenceQueryProvider
    AddressUidExtension
    TestConductorExtension
    ActorSubscriberState
    Tcp
    FlowNameCounter
    TestKitAssertionsExtension
    TestKitExtension
    Implements
    IExtensionId<T>
    IExtensionId
    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Akka.Actor
    Assembly: Akka.dll
    Syntax
    public abstract class ExtensionIdProvider<T> : IExtensionId<T>, IExtensionId where T : IExtension
    Type Parameters
    Name Description
    T

    The type of the extension being provided.

    Properties

    | Edit this page View Source

    ExtensionType

    Retrieves the underlying type for the current extension

    Declaration
    public Type ExtensionType { get; }
    Property Value
    Type Description
    Type

    Methods

    | Edit this page View Source

    Apply(ActorSystem)

    Registers the current extension to a given actor system.

    Declaration
    public T Apply(ActorSystem system)
    Parameters
    Type Name Description
    ActorSystem system

    The actor system in which to register the extension.

    Returns
    Type Description
    T

    The extension registered to the given actor system.

    | Edit this page View Source

    CreateExtension(ExtendedActorSystem)

    Creates the current extension using a given actor system.

    Declaration
    public abstract T CreateExtension(ExtendedActorSystem system)
    Parameters
    Type Name Description
    ExtendedActorSystem system

    The actor system to use when creating the extension.

    Returns
    Type Description
    T

    The extension created using the given actor system.

    | Edit this page View Source

    Equals(object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type Description
    bool
    Overrides
    object.Equals(object)
    | Edit this page View Source

    Get(ActorSystem)

    Retrieves the current extension from a given actor system.

    Declaration
    public T Get(ActorSystem system)
    Parameters
    Type Name Description
    ActorSystem system

    The actor system from which to retrieve the extension.

    Returns
    Type Description
    T

    The extension retrieved from the given actor system.

    | Edit this page View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    Overrides
    object.GetHashCode()

    Implements

    IExtensionId<T>
    IExtensionId

    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