 | TestKitBaseActorOfAsTestActorRefTActor Method (String) |
Namespace:
Akka.TestKit
Assembly:
Akka.TestKit (in Akka.TestKit.dll) Version: 1.2.3.129 (1.2.3.129)
Syntaxpublic TestActorRef<TActor> ActorOfAsTestActorRef<TActor>(
string name = null
)
where TActor : new(), ActorBase
member ActorOfAsTestActorRef :
?name : string
(* Defaults:
let _name = defaultArg name null
*)
-> TestActorRef<'TActor> when 'TActor : new() and ActorBase
Parameters
- 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:
TestActorRefTActorTBD
See Also