Class DIExtension
This class represents an ActorSystem provider used to create the dependency injection (DI) extension.
Inherited Members
Namespace: Akka.DI.Core
Assembly: Akka.DI.Core.dll
Syntax
public class DIExtension : ExtensionIdProvider<DIExt>, IExtensionId<DIExt>, IExtensionId
Fields
| Improve this Doc View SourceDIExtensionProvider
A static reference to the current provider.
Declaration
public static DIExtension DIExtensionProvider
Field Value
Type | Description |
---|---|
DIExtension |
Methods
| Improve this Doc View SourceCreateExtension(ExtendedActorSystem)
Creates the dependency injection extension using a given actor system.
Declaration
public override DIExt CreateExtension(ExtendedActorSystem system)
Parameters
Type | Name | Description |
---|---|---|
ExtendedActorSystem | system | The actor system to use when creating the extension. |
Returns
Type | Description |
---|---|
DIExt | The extension created using the given actor system. |
Overrides
Akka.Actor.ExtensionIdProvider<Akka.DI.Core.DIExt>.CreateExtension(Akka.Actor.ExtendedActorSystem)