Returns a new Props with the specified router config set.
Namespace: Akka.ActorAssembly: Akka (in Akka.dll) Version: 0.8.0.0 (0.8.0.0)
Syntaxpublic Props WithRouter(
RouterConfig routerConfig
)
Public Function WithRouter (
routerConfig As RouterConfig
) As Props
public:
Props^ WithRouter(
RouterConfig^ routerConfig
)
member WithRouter :
routerConfig : RouterConfig -> Props
Parameters
- routerConfig
- Type: Akka.RoutingRouterConfig
The router configuration.
Return Value
Type:
PropsProps.
See Also