 | TestKitBaseActorOfTActor Method (String) |
Create a new actor as child of
Sys.
Namespace:
Akka.TestKit
Assembly:
Akka.TestKit (in Akka.TestKit.dll) Version: 1.2.3.129 (1.2.3.129)
Syntaxpublic IActorRef ActorOf<TActor>(
string name
)
where TActor : new(), ActorBase
member ActorOf :
name : string -> IActorRef when 'TActor : new() and ActorBase
Parameters
- name
- Type: SystemString
The name of the actor.
Type Parameters
- TActor
- The type of the actor. It must have a parameterless public constructor
Return Value
Type:
IActorRefTBD
See Also