Class ActorSystemSetup
A set of setup classes to allow for programmatic configuration of the ActorSystem
Inherited Members
Namespace: Akka.Actor.Setup
Assembly: Akka.dll
Syntax
public sealed class ActorSystemSetup
Remarks
The constructor is internal. Use Create(params Setup[]) or WithSetup<T>(T) to create instances.
Fields
| Edit this page View SourceEmpty
Declaration
public static readonly ActorSystemSetup Empty
Field Value
| Type | Description |
|---|---|
| ActorSystemSetup |
Methods
| Edit this page View SourceAnd<T>(T)
Shortcut for And(Setup) to make it easier to chain the fluent interface together.
Declaration
public ActorSystemSetup And<T>(T setup) where T : Setup
Parameters
| Type | Name | Description |
|---|---|---|
| T | setup | Setup input. If a setting of the same type is already present it will be replaced. |
Returns
| Type | Description |
|---|---|
| ActorSystemSetup | A new, immutable ActorSystemSetup instance. |
Type Parameters
| Name | Description |
|---|---|
| T | The type of Setup |
Remarks
Calls WithSetup<T>(T) internally.
Create(params Setup[])
Declaration
public static ActorSystemSetup Create(params Setup[] setup)
Parameters
| Type | Name | Description |
|---|---|---|
| Setup[] | setup |
Returns
| Type | Description |
|---|---|
| ActorSystemSetup |
Get<T>()
Declaration
public Option<T> Get<T>() where T : Setup
Returns
| Type | Description |
|---|---|
| Option<T> |
Type Parameters
| Name | Description |
|---|---|
| T |
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | A string that represents the current object. |
Overrides
| Edit this page View SourceWithSetup<T>(T)
Add a concrete Setup.
Declaration
public ActorSystemSetup WithSetup<T>(T setup) where T : Setup
Parameters
| Type | Name | Description |
|---|---|---|
| T | setup | Setup input. If a setting of the same type is already present it will be replaced. |
Returns
| Type | Description |
|---|---|
| ActorSystemSetup | A new, immutable ActorSystemSetup instance. |
Type Parameters
| Name | Description |
|---|---|
| T | The type of Setup |
Edit this page