C# Class Akka.Configuration.ConfigExtensions

This class contains convenience methods for working with Config.
Mostra file Open project: rogeralsing/akka.net

Public Methods

Method Description
IsNullOrEmpty ( this config ) : bool

Determines if the supplied configuration has any usable content period.

SafeWithFallback ( this config, Config fallback ) : Config

Retrieves the current configuration or the fallback configuration if the current one is null.

Method Details

IsNullOrEmpty() public static method

Determines if the supplied configuration has any usable content period.
public static IsNullOrEmpty ( this config ) : bool
config this The configuration used as the source.
return bool

SafeWithFallback() public static method

Retrieves the current configuration or the fallback configuration if the current one is null.
public static SafeWithFallback ( this config, Config fallback ) : Config
config this The configuration used as the source.
fallback Config The configuration to use as a secondary source.
return Config