C# Class Nett.Coma.MergedConfig

Inheritance: IMergeableConfig
Mostra file Open project: paiden/Nett

Public Methods

Method Description
CanHandleSource ( IConfigSource source ) : bool
EnsureExists ( TomlTable content ) : bool
Load ( ) : TomlTable
Load ( IConfigSource source ) : TomlTable
LoadSourcesTable ( ) : TomlTable
MergedConfig ( IEnumerable configs ) : System
Save ( TomlTable content ) : void
Save ( TomlTable table, IConfigSource source ) : void
WasChangedExternally ( ) : bool

Private Methods

Method Description
LoadInternal ( IConfigSource source, IPersistableConfig &cfg ) : TomlTable
MergeTables ( TomlTable>.Func loadSingle ) : TomlTable

Method Details

CanHandleSource() public method

public CanHandleSource ( IConfigSource source ) : bool
source IConfigSource
return bool

EnsureExists() public method

public EnsureExists ( TomlTable content ) : bool
content TomlTable
return bool

Load() public method

public Load ( ) : TomlTable
return TomlTable

Load() public method

public Load ( IConfigSource source ) : TomlTable
source IConfigSource
return TomlTable

LoadSourcesTable() public method

public LoadSourcesTable ( ) : TomlTable
return TomlTable

MergedConfig() public method

public MergedConfig ( IEnumerable configs ) : System
configs IEnumerable
return System

Save() public method

public Save ( TomlTable content ) : void
content TomlTable
return void

Save() public method

public Save ( TomlTable table, IConfigSource source ) : void
table TomlTable
source IConfigSource
return void

WasChangedExternally() public method

public WasChangedExternally ( ) : bool
return bool