Click or drag to resize
Akka.NETTestKitBaseActorOfAsTestActorRef Method
Overload List
  NameDescription
Public methodActorOfAsTestActorRefTActor(String)
Public methodCode exampleActorOfAsTestActorRefTActor(ExpressionFuncTActor, String)
Create a new actor as child of Sys and returns it as TestActorRefTActor to enable access to the underlying actor instance via UnderlyingActor. Uses an expression that calls the constructor of TActor.
Examples
ActorOf<MyActor>(()=>new MyActor("value", 4711), "test-actor")
Public methodActorOfAsTestActorRefTActor(IActorRef, String)
Create a new actor as child of the specified supervisor and returns it as TestActorRefTActor to enable access to the underlying actor instance via UnderlyingActor.
Public methodActorOfAsTestActorRefTActor(Props, String)
Public methodCode exampleActorOfAsTestActorRefTActor(ExpressionFuncTActor, IActorRef, String)
Create a new actor as child of the specified supervisor and returns it as TestActorRefTActor to enable access to the underlying actor instance via UnderlyingActor. Uses an expression that calls the constructor of TActor.
Examples
ActorOf<MyActor>(()=>new MyActor("value", 4711), "test-actor")
Public methodActorOfAsTestActorRefTActor(Props, IActorRef, String)
Top
See Also