Click or drag to resize
Akka.NETDIActorProducer Constructor
Initializes a new instance of the DIActorProducer class.

Namespace:  Akka.DI.Core
Assembly:  Akka.DI.Core (in Akka.DI.Core.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax
public DIActorProducer(
	IDependencyResolver dependencyResolver,
	Type actorType
)

Parameters

dependencyResolver
Type: Akka.DI.CoreIDependencyResolver
The resolver used to resolve the given actor type.
actorType
Type: SystemType
The type of actor that this producer creates.
Exceptions
ExceptionCondition
ArgumentNullException This exception is thrown when either the specified dependencyResolver or the specified actorType is undefined.
See Also