C# Класс Rolcore.Configuration.FileConfigurationSource

Implements IConfigurationSource to provide configuration via the ConfigurationManager. ConfigurationExportProvider
Наследование: IConfigurationSource
Показать файл Открыть проект

Открытые методы

Метод Описание
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