C# Class Rolcore.Configuration.FileConfigurationSource

Implements IConfigurationSource to provide configuration via the ConfigurationManager. ConfigurationExportProvider
Inheritance: IConfigurationSource
Afficher le fichier Open project: Rollins/Rolcore

Méthodes publiques

Méthode Description
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.

Method Details

ContainsSection() public méthode

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

ContainsSetting() public méthode

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

GetSection() public méthode

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

GetSetting() public méthode

Gets the specified setting value.
public GetSetting ( string key ) : string
key string Specifies the key used to identify the setting.
Résultat string