Click or drag to resize
Akka.NETIIndirectActorProducer Interface
This interface defines a class of actor creation strategies deviating from the usual default of just reflectively instantiating the Actor subclass. It can be used to allow a dependency injection framework to determine the actual actor class and how it shall be instantiated.

Namespace:  Akka.Actor
Assembly:  Akka (in Akka.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax
public interface IIndirectActorProducer

The IIndirectActorProducer type exposes the following members.

Properties
  NameDescription
Public propertyActorType
This method is used by Props to determine the type of actor to create. The returned type is not used to produce the actor.
Top
Methods
  NameDescription
Public methodProduce
This factory method must produce a fresh actor instance upon each invocation. It is not permitted to return the same instance more than once.
Public methodRelease
This method is used by Props to signal the producer that it can release it's reference.
Remarks
To learn more about using Dependency Injection in .NET, see HERE.
Top
See Also