| DIActorContextAdapterActorOfTActor Method |
Note: This API is now obsolete.
Obsolete. Use
Props(Type) or
PropsTActor methods for actor creation. This method will be removed in future versions.
Namespace:
Akka.DI.Core
Assembly:
Akka.DI.Core (in Akka.DI.Core.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax [ObsoleteAttribute("Use Props methods for actor creation. This method will be removed in future versions")]
public IActorRef ActorOf<TActor>(
string name = null
)
where TActor : ActorBase
[<ObsoleteAttribute("Use Props methods for actor creation. This method will be removed in future versions")>]
member ActorOf :
?name : string
(* Defaults:
let _name = defaultArg name null
*)
-> IActorRef when 'TActor : ActorBase
Parameters
- name (Optional)
- Type: SystemString
N/A
Type Parameters
- TActor
- N/A
Return Value
Type:
IActorRefN/A
See Also