C# 클래스 Rolcore.Configuration.FileConfigurationSource

Implements IConfigurationSource to provide configuration via the ConfigurationManager. ConfigurationExportProvider
상속: IConfigurationSource
파일 보기 프로젝트 열기: Rollins/Rolcore

공개 메소드들

메소드 설명
ContainsSection ( string name ) : bool

Returns true if the specified section exists.

ContainsSetting ( string key ) : bool

Returns true if the specified setting exists.

GetSection ( string name ) : object

Gets a configuration section with the specified name.

GetSetting ( string key ) : string

Gets the specified setting value.

메소드 상세

ContainsSection() 공개 메소드

Returns true if the specified section exists.
public ContainsSection ( string name ) : bool
name string Specifies the key used to identify the section.
리턴 bool

ContainsSetting() 공개 메소드

Returns true if the specified setting exists.
public ContainsSetting ( string key ) : bool
key string Specifies the key used to identify the setting.
리턴 bool

GetSection() 공개 메소드

Gets a configuration section with the specified name.
public GetSection ( string name ) : object
name string Specifies the name of the configuration section to return.
리턴 object

GetSetting() 공개 메소드

Gets the specified setting value.
public GetSetting ( string key ) : string
key string Specifies the key used to identify the setting.
리턴 string