C# Class NSoft.NFramework.Nini.Config.ConfigSourceBase

Inheritance: IConfigSource
Afficher le fichier Open project: debop/NFramework Class Usage Examples

Méthodes publiques

Méthode Description
AddConfig ( string name ) : IConfig
ExpandKeyValues ( ) : void
GetExpanded ( IConfig config, string key ) : string
Merge ( IConfigSource source ) : void
Reload ( ) : void
ReplaceKeyValues ( ) : void
Save ( ) : void

Méthodes protégées

Méthode Description
ConfigSourceBase ( ) : System
OnReloaded ( EventArgs e ) : void
OnSaved ( EventArgs e ) : void

Private Methods

Méthode Description
Expand ( IConfig config, string key, bool setValue ) : string

Expands key values from the given IConfig.

ExpandValue ( IConfig config, string search ) : string

Returns the replacement value of a config.

Method Details

AddConfig() public méthode

public AddConfig ( string name ) : IConfig
name string
Résultat IConfig

ConfigSourceBase() protected méthode

protected ConfigSourceBase ( ) : System
Résultat System

ExpandKeyValues() public méthode

public ExpandKeyValues ( ) : void
Résultat void

GetExpanded() public méthode

public GetExpanded ( IConfig config, string key ) : string
config IConfig
key string
Résultat string

Merge() public méthode

public Merge ( IConfigSource source ) : void
source IConfigSource
Résultat void

OnReloaded() protected méthode

protected OnReloaded ( EventArgs e ) : void
e System.EventArgs
Résultat void

OnSaved() protected méthode

protected OnSaved ( EventArgs e ) : void
e System.EventArgs
Résultat void

Reload() public méthode

public Reload ( ) : void
Résultat void

ReplaceKeyValues() public méthode

public ReplaceKeyValues ( ) : void
Résultat void

Save() public méthode

public Save ( ) : void
Résultat void