Interface IExtensionId
This interface is used to distinguish unique ActorSystem extensions.
Namespace: Akka.Actor
Assembly: Akka.dll
Syntax
public interface IExtensionId
Properties
| Improve this Doc View SourceExtensionType
Retrieves the underlying type for the current extension
Declaration
Type ExtensionType { get; }
Property Value
Type | Description |
---|---|
Type |
Methods
| Improve this Doc View SourceApply(ActorSystem)
Registers the current extension to a given actor system.
Declaration
object Apply(ActorSystem system)
Parameters
Type | Name | Description |
---|---|---|
ActorSystem | system | The actor system in which to register the extension. |
Returns
Type | Description |
---|---|
Object | The extension registered to the given actor system. |
CreateExtension(ExtendedActorSystem)
Creates the current extension using a given actor system.
note
Internal use only.
Declaration
object CreateExtension(ExtendedActorSystem system)
Parameters
Type | Name | Description |
---|---|---|
ExtendedActorSystem | system | The actor system to use when creating the extension. |
Returns
Type | Description |
---|---|
Object | The extension created using the given actor system. |
Get(ActorSystem)
Retrieves the current extension from a given actor system.
Declaration
object Get(ActorSystem system)
Parameters
Type | Name | Description |
---|---|---|
ActorSystem | system | The actor system from which to retrieve the extension. |
Returns
Type | Description |
---|---|
Object | The extension retrieved from the given actor system. |