Click or drag to resize
Akka.NETTestKitBase.ActorOf Method (Action<IActorDsl>, String)
Creates a new actor by defining the behavior inside the configure action.
Examples
ActorOf(c =>
{
    c.Receive<string>((msg, ctx) => ctx.Sender.Tell("Hello " + msg));
});

Namespace:  Akka.TestKit
Assembly:  Akka.TestKit (in Akka.TestKit.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax
public IActorRef ActorOf(
	Action<IActorDsl> configure,
	string name = null
)

Parameters

configure
Type: System.Action<IActorDsl>
An action that configures the actor's behavior.
name (Optional)
Type: System.String
Optional: The name of the actor.

Return Value

Type: IActorRef
TBD
See Also