C# Class ExtensionLoader.Config.IniConfigSource

Inheritance: ConfigSourceBase
Afficher le fichier Open project: 3di/3di-viewer-rei-libs Class Usage Examples

Méthodes publiques

Méthode Description
IniConfigSource ( ) : System
IniConfigSource ( IniDocument document ) : System
IniConfigSource ( Stream stream ) : System
IniConfigSource ( TextReader reader ) : System
IniConfigSource ( string filePath ) : System
Load ( IniDocument document ) : void
Load ( Stream stream ) : void
Load ( TextReader reader ) : void
Load ( string filePath ) : void
Reload ( ) : void
Save ( ) : void
Save ( Stream stream ) : void
Save ( TextWriter writer ) : void
Save ( string path ) : void
ToString ( ) : string

Private Methods

Méthode Description
IsSavable ( ) : bool

Returns true if this instance is savable.

Load ( ) : void

Loads the configuration file.

MergeConfigsIntoDocument ( ) : void

Merges all of the configs from the config collection into the IniDocument before it is saved.

MergeDocumentIntoConfigs ( ) : void

Merges the IniDocument into the Configs when the document is reloaded.

RemoveConfigKeys ( IConfig config ) : void

Removes all INI keys that were removed as config keys.

RemoveConfigs ( ) : void

Removes all configs that are not in the newly loaded INI doc.

RemoveKeys ( string sectionName ) : void

Removes all INI keys that were removed as config keys.

RemoveSections ( ) : void

Removes all INI sections that were removed as configs.

Method Details

IniConfigSource() public méthode

public IniConfigSource ( ) : System
Résultat System

IniConfigSource() public méthode

public IniConfigSource ( IniDocument document ) : System
document ExtensionLoader.Ini.IniDocument
Résultat System

IniConfigSource() public méthode

public IniConfigSource ( Stream stream ) : System
stream Stream
Résultat System

IniConfigSource() public méthode

public IniConfigSource ( TextReader reader ) : System
reader System.IO.TextReader
Résultat System

IniConfigSource() public méthode

public IniConfigSource ( string filePath ) : System
filePath string
Résultat System

Load() public méthode

public Load ( IniDocument document ) : void
document ExtensionLoader.Ini.IniDocument
Résultat void

Load() public méthode

public Load ( Stream stream ) : void
stream Stream
Résultat void

Load() public méthode

public Load ( TextReader reader ) : void
reader System.IO.TextReader
Résultat void

Load() public méthode

public Load ( string filePath ) : void
filePath string
Résultat void

Reload() public méthode

public Reload ( ) : void
Résultat void

Save() public méthode

public Save ( ) : void
Résultat void

Save() public méthode

public Save ( Stream stream ) : void
stream Stream
Résultat void

Save() public méthode

public Save ( TextWriter writer ) : void
writer System.IO.TextWriter
Résultat void

Save() public méthode

public Save ( string path ) : void
path string
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string