C# 클래스 AccidentalFish.ApplicationSupport.Core.Configuration.ApplicationConfiguration

파일 보기 프로젝트 열기: JamesRandall/AccidentalFish.ApplicationSupport 1 사용 예제들

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
ApplicationConfiguration ( ) : System

Constructor

메소드 상세

ApplicationConfiguration() 보호된 메소드

Constructor
protected ApplicationConfiguration ( ) : System
리턴 System

FromFileAsync() 공개 정적인 메소드

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
리턴 Task

FromXDocumentAsync() 공개 정적인 메소드

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
리턴 Task