| TestKitBaseActorOfAsTestActorRefTActor Method (Props, String) |
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>(
Props props,
string name = null
)
where TActor : ActorBase
member ActorOfAsTestActorRef :
props : Props *
?name : string
(* Defaults:
let _name = defaultArg name null
*)
-> TestActorRef<'TActor> when 'TActor : ActorBase
Parameters
- props
- Type: Akka.ActorProps
The Props object - 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