| ActorRefFactoryExtensionsActorOfTActor Method |
TBD
Namespace:
Akka.Actor
Assembly:
Akka (in Akka.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax public static IActorRef ActorOf<TActor>(
this IActorRefFactory factory,
string name = null
)
where TActor : new(), ActorBase
[<ExtensionAttribute>]
static member ActorOf :
factory : IActorRefFactory *
?name : string
(* Defaults:
let _name = defaultArg name null
*)
-> IActorRef when 'TActor : new() and ActorBase
Parameters
- factory
- Type: Akka.ActorIActorRefFactory
TBD - name (Optional)
- Type: SystemString
TBD
Type Parameters
- TActor
- TBD
Return Value
Type:
IActorRefTBD
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IActorRefFactory. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also