Click or drag to resize
Akka.NETExtensionsDI Method (ActorSystem)
Creates an adapter used to generate Props configuration objects using the DI extension using a given actor system.

Namespace:  Akka.DI.Core
Assembly:  Akka.DI.Core (in Akka.DI.Core.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax
public static DIActorSystemAdapter DI(
	this ActorSystem system
)

Parameters

system
Type: Akka.ActorActorSystem
The actor system that contains the DI extension.

Return Value

Type: DIActorSystemAdapter
An adapter used to generate Props configuration objects using the DI extension.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ActorSystem. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also