Click or drag to resize
Akka.NETTestKitBaseActorOf Method (ActionIActorDsl, 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: SystemActionIActorDsl
An action that configures the actor's behavior.
name (Optional)
Type: SystemString
Optional: The name of the actor.

Return Value

Type: IActorRef
TBD
See Also