C# 클래스 NConfiguration.NConfigurationManager

파일 보기 프로젝트 열기: Q42/NConfigurationManager

공개 메소드들

메소드 설명
GetAppSetting ( string key ) : string

Mono has a bug so on mono projects GetAppSetting is mandatory Gets the app setting. https://bugzilla.novell.com/show_bug.cgi?id=545588

GetConnectionString ( string key ) : string

Mono has a bug so on mono projects GetConnectionString is mandatory https://bugzilla.novell.com/show_bug.cgi?id=545588

GetEnvironment ( ) : string
GetKeyCandidates ( ) : IEnumerable
Initialize ( ) : void
Initialize ( string defaultEnvironment ) : void

Fall back to the given environment name as suppose to whatever "default" is pointing to.

Switch ( string environment ) : void
ValidateAllConfigurations ( ) : IList>.Dictionary

Validates all the environment configuration files

비공개 메소드들

메소드 설명
FindRootDirectory ( ) : void
GetCurrentEnvironmentConfiguration ( ) : Configuration
HasEqualAppSettings ( Configuration configuration, Configuration compareConfiguration ) : bool
HasEqualAppSettingsAndValues ( Configuration configuration, Configuration compareConfiguration ) : bool
HasEqualConnectionStrings ( Configuration configuration, Configuration compareConfiguration ) : bool
HasEqualConnectionStringsAndValues ( Configuration configuration, Configuration compareConfiguration ) : bool
InitializeIntern ( ) : void
NConfigurationManager ( ) : System
OnChanged ( object sender, FileSystemEventArgs e ) : void
OnRenamed ( object sender, RenamedEventArgs e ) : void
OpenConfiguration ( string path ) : Configuration
Refresh ( ) : void

메소드 상세

GetAppSetting() 공개 정적인 메소드

Mono has a bug so on mono projects GetAppSetting is mandatory Gets the app setting. https://bugzilla.novell.com/show_bug.cgi?id=545588
public static GetAppSetting ( string key ) : string
key string Key.
리턴 string

GetConnectionString() 공개 정적인 메소드

Mono has a bug so on mono projects GetConnectionString is mandatory https://bugzilla.novell.com/show_bug.cgi?id=545588
public static GetConnectionString ( string key ) : string
key string Key.
리턴 string

GetEnvironment() 공개 정적인 메소드

public static GetEnvironment ( ) : string
리턴 string

GetKeyCandidates() 공개 정적인 메소드

public static GetKeyCandidates ( ) : IEnumerable
리턴 IEnumerable

Initialize() 공개 정적인 메소드

public static Initialize ( ) : void
리턴 void

Initialize() 공개 정적인 메소드

Fall back to the given environment name as suppose to whatever "default" is pointing to.
public static Initialize ( string defaultEnvironment ) : void
defaultEnvironment string
리턴 void

Switch() 공개 정적인 메소드

public static Switch ( string environment ) : void
environment string
리턴 void

ValidateAllConfigurations() 공개 정적인 메소드

Validates all the environment configuration files
public static ValidateAllConfigurations ( ) : IList>.Dictionary
리턴 IList>.Dictionary