Class ActorRefFactoryExtensions
This class contains extension methods used for working with IActorRefFactory.
Inherited Members
Namespace: Akka.Actor
Assembly: Akka.dll
Syntax
public static class ActorRefFactoryExtensions
Methods
| Improve this Doc View SourceActorOf<TActor>(IActorRefFactory, String)
TBD
Declaration
public static IActorRef ActorOf<TActor>(this IActorRefFactory factory, string name = null)
where TActor : ActorBase, new()
Parameters
Type | Name | Description |
---|---|---|
IActorRefFactory | factory | TBD |
String | name | TBD |
Returns
Type | Description |
---|---|
IActorRef | TBD |
Type Parameters
Name | Description |
---|---|
TActor | TBD |
ActorSelection(IActorRefFactory, IActorRef, String)
Construct an ActorSelection from the given string representing a path relative to the given target. This operation has to create all the matching magic, so it is preferable to cache its result if the intention is to send messages frequently.
Declaration
public static ActorSelection ActorSelection(this IActorRefFactory factory, IActorRef anchorRef, string actorPath)
Parameters
Type | Name | Description |
---|---|---|
IActorRefFactory | factory | TBD |
IActorRef | anchorRef | TBD |
String | actorPath | TBD |
Returns
Type | Description |
---|---|
ActorSelection | TBD |