Click or drag to resize
Akka.NETTestKitBaseActorOfAsTestActorRefTActor Method (IActorRef, String)
Create a new actor as child of the specified supervisor and returns it as TestActorRefTActor to enable access to the underlying actor instance via UnderlyingActor.

Namespace:  Akka.TestKit
Assembly:  Akka.TestKit (in Akka.TestKit.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax
public TestActorRef<TActor> ActorOfAsTestActorRef<TActor>(
	IActorRef supervisor,
	string name = null
)
where TActor : new(), ActorBase

Parameters

supervisor
Type: Akka.ActorIActorRef
The supervisor
name (Optional)
Type: SystemString
Optional: The name.

Type Parameters

TActor
The type of the actor. It must have a parameterless public constructor

Return Value

Type: TestActorRefTActor
TBD
See Also