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