Class ConfigExtensions
This class contains convenience methods for working with Config.
Inherited Members
Namespace: Akka.Configuration
Assembly: Akka.dll
Syntax
public static class ConfigExtensions
Methods
| Edit this page View SourceIsNullOrEmpty(Config)
Determines if the supplied configuration has any usable content period.
Declaration
public static bool IsNullOrEmpty(this Config config)
Parameters
| Type | Name | Description |
|---|---|---|
| Config | config | The configuration used as the source. |
Returns
| Type | Description |
|---|---|
| bool |
SafeWithFallback(Config, Config)
Retrieves the current configuration or the fallback configuration if the current one is null.
Declaration
public static Config SafeWithFallback(this Config config, Config fallback)
Parameters
| Type | Name | Description |
|---|---|---|
| Config | config | The configuration used as the source. |
| Config | fallback | The configuration to use as a secondary source. |
Returns
| Type | Description |
|---|---|
| Config | The current configuration or the fallback configuration if the current one is null. |
Edit this page