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

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 DIActorContextAdapter DI(
	this IActorContext context
)

Parameters

context
Type: Akka.ActorIActorContext
The actor context associated with a system that contains the DI extension.

Return Value

Type: DIActorContextAdapter
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 IActorContext. 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