This repository was archived by the owner on Feb 26, 2021. It is now read-only.
Repository navigation
Exomia.Configuration.Ini
Daniel Baetz edited this page Jun 22, 2019
·
8 revisions
An initialise configuration. This class cannot be inherited.
public class Exomia.Configuration.Ini.IniConfig
: ConfigBase, IConfig.ctor IniConfig(IConfigSource configSource, String name, String comment = )
Initializes a new instance of the Exomia.Configuration.Ini.IniConfig class.
-
configSource- The configuration source. -
name- The name. -
comment- (Optional) The comment.
void AddKeyInternal(String key, String value, String comment, String[] infos = null)
Adds a key internal.
-
key- The key. -
value- The value. -
comment- The comment. -
infos- (Optional) The infos.
An initialise configuration source. This class cannot be inherited.
public class Exomia.Configuration.Ini.IniConfigSource
: ConfigSourceBase, IConfigSource.ctor IniConfigSource()IConfig CreateConfig(String section, String comment)
creates a new IConfig.
-
section- section. -
comment- comment.
An init file parser.
public static class Exomia.Configuration.Ini.IniParservoid Merge(String fileName, IniConfigSource source)
merge a ini file with an existing IniConfigSource.
-
fileName- fileName. -
source- source.
void Merge(Stream stream, IniConfigSource source)
merge a ini file stream with an existing IniConfigSource.
-
stream- stream. -
source- source.
IniConfigSource Parse(String fileName)
parse a ini file to a IniConfigSource.
-
fileName- fileName.
IniConfigSource Parse(Stream stream, String fileName = )
parse a ini file to a IniConfigSource.
-
stream- stream. -
fileName- (Optional) fileName.
IniConfigSource Parse(Stream stream, IniConfigSource source = null, String fileName = )
parse a ini file to a IniConfigSource.
-
stream- stream. -
source- (Optional) source. -
fileName- (Optional) fileName.