Click or drag to resize
Akka.NETActorRefFactoryExtensionsActorSelection Method
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.

Namespace:  Akka.Actor
Assembly:  Akka (in Akka.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax
public static ActorSelection ActorSelection(
	this IActorRefFactory factory,
	IActorRef anchorRef,
	string actorPath
)

Parameters

factory
Type: Akka.ActorIActorRefFactory
TBD
anchorRef
Type: Akka.ActorIActorRef
TBD
actorPath
Type: SystemString
TBD

Return Value

Type: ActorSelection
TBD

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