C# Class AccidentalFish.ApplicationSupport.Core.Configuration.ApplicationConfiguration

Afficher le fichier Open project: JamesRandall/AccidentalFish.ApplicationSupport Class Usage Examples

Méthodes publiques

Méthode Description
FromFileAsync ( string filename, ApplicationConfigurationSettings settings, bool checkForMissingSettings, IAsyncConfiguration applicationSecretStore = null, Action verboseLogger = null ) : Task

Loads the application configuration from an XML file

FromXDocumentAsync ( System.Xml.Linq.XDocument document, ApplicationConfigurationSettings settings, bool checkForMissingSettings, IAsyncConfiguration applicationSecretStore = null, Action verboseLogger = null ) : Task

Loads the application configuration from an XML document

Méthodes protégées

Méthode Description
ApplicationConfiguration ( ) : System

Constructor

Method Details

ApplicationConfiguration() protected méthode

Constructor
protected ApplicationConfiguration ( ) : System
Résultat System

FromFileAsync() public static méthode

Loads the application configuration from an XML file
public static FromFileAsync ( string filename, ApplicationConfigurationSettings settings, bool checkForMissingSettings, IAsyncConfiguration applicationSecretStore = null, Action verboseLogger = null ) : Task
filename string The filename
settings ApplicationConfigurationSettings An optional settings file
checkForMissingSettings bool If set to true then any missing settings generate an exception
applicationSecretStore IAsyncConfiguration Optional secret store to use in addition to the settings
verboseLogger Action Optional verbose logger
Résultat Task

FromXDocumentAsync() public static méthode

Loads the application configuration from an XML document
public static FromXDocumentAsync ( System.Xml.Linq.XDocument document, ApplicationConfigurationSettings settings, bool checkForMissingSettings, IAsyncConfiguration applicationSecretStore = null, Action verboseLogger = null ) : Task
document System.Xml.Linq.XDocument The document
settings ApplicationConfigurationSettings An optional settings file
checkForMissingSettings bool If set to true then any missing settings generate an exception
applicationSecretStore IAsyncConfiguration Optional secret store to use in addition to the settings
verboseLogger Action Optional verbose logger
Résultat Task