 | TestKitBaseActorOfAsTestActorRefTActor Method (Props, IActorRef, String) |
Namespace:
Akka.TestKit
Assembly:
Akka.TestKit (in Akka.TestKit.dll) Version: 1.2.3.42 (1.2.3.42)
Syntaxpublic TestActorRef<TActor> ActorOfAsTestActorRef<TActor>(
Props props,
IActorRef supervisor,
string name = null
)
where TActor : ActorBase
member ActorOfAsTestActorRef :
props : Props *
supervisor : IActorRef *
?name : string
(* Defaults:
let _name = defaultArg name null
*)
-> TestActorRef<'TActor> when 'TActor : ActorBase
Parameters
- props
- Type: Akka.ActorProps
The Props object - 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:
TestActorRefTActorTBD
See Also