Click or drag to resize
Akka.NETConfigExtensionsSafeWithFallback 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.42 (1.2.3.42)
Syntax
public static Config SafeWithFallback(
	this Config config,
	Config fallback
)

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: Config
The 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