C# Class Akka.Configuration.ConfigExtensions

This class contains convenience methods for working with Config.
Afficher le fichier Open project: rogeralsing/akka.net

Méthodes publiques

Méthode 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 méthode

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

SafeWithFallback() public static méthode

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.
Résultat Config