Click or drag to resize
Akka.NETTestKitBaseActorOf Method (ActionIActorDsl, IActorContext, 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.42 (1.2.3.42)
Syntax
public IActorRef ActorOf(
	Action<IActorDsl, IActorContext> configure,
	string name = null
)

Parameters

configure
Type: SystemActionIActorDsl, IActorContext
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