| ConfigExtensionsSafeWithFallback Method |
Retrieves the current configuration or the fallback
configuration if the current one is null.
Namespace:
Akka.Configuration
Assembly:
Akka (in Akka.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax public static Config SafeWithFallback(
this Config config,
Config fallback
)
[<ExtensionAttribute>]
static member SafeWithFallback :
config : Config *
fallback : Config -> Config
Parameters
- config
- Type: Akka.ConfigurationConfig
The configuration used as the source. - fallback
- Type: Akka.ConfigurationConfig
The configuration to use as a secondary source.
Return Value
Type:
ConfigThe current configuration or the fallback configuration if the current one is null.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Config. 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