C# Class ExtensionLoader.Config.ConfigSourceBase

Inheritance: IConfigSource
Mostra file Open project: 3di/3di-viewer-rei-libs Class Usage Examples

Public Methods

Method Description
AddConfig ( string name ) : IConfig
ConfigSourceBase ( ) : System
ExpandKeyValues ( ) : void
GetExpanded ( IConfig config, string key ) : string
Merge ( IConfigSource source ) : void
Reload ( ) : void
ReplaceKeyValues ( ) : void
Save ( ) : void

Protected Methods

Method Description
OnReloaded ( EventArgs e ) : void
OnSaved ( EventArgs e ) : void

Private Methods

Method 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 method

public AddConfig ( string name ) : IConfig
name string
return IConfig

ConfigSourceBase() public method

public ConfigSourceBase ( ) : System
return System

ExpandKeyValues() public method

public ExpandKeyValues ( ) : void
return void

GetExpanded() public method

public GetExpanded ( IConfig config, string key ) : string
config IConfig
key string
return string

Merge() public method

public Merge ( IConfigSource source ) : void
source IConfigSource
return void

OnReloaded() protected method

protected OnReloaded ( EventArgs e ) : void
e System.EventArgs
return void

OnSaved() protected method

protected OnSaved ( EventArgs e ) : void
e System.EventArgs
return void

Reload() public method

public Reload ( ) : void
return void

ReplaceKeyValues() public method

public ReplaceKeyValues ( ) : void
return void

Save() public method

public Save ( ) : void
return void