| ExtensionsDI 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
)
[<ExtensionAttribute>]
static member DI :
context : IActorContext -> DIActorContextAdapter
Parameters
- context
- Type: Akka.ActorIActorContext
The actor context associated with a system that contains the DI extension.
Return Value
Type:
DIActorContextAdapterAn 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