This repository was archived by the owner on Feb 26, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Exomia.Configuration.Xml
Daniel Baetz edited this page Jun 22, 2019
·
8 revisions
An XML configuration. This class cannot be inherited.
public class Exomia.Configuration.Xml.XmlConfig
: ConfigBase, IConfig.ctor XmlConfig(IConfigSource configSource, String name, String comment = )
Initializes a new instance of the Exomia.Configuration.Xml.XmlConfig 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 XML configuration source. This class cannot be inherited.
public class Exomia.Configuration.Xml.XmlConfigSource
: ConfigSourceBase, IConfigSource.ctor XmlConfigSource()IConfig CreateConfig(String section, String comment)
creates a new IConfig.
-
section- section. -
comment- comment.
An XML parser.
public static class Exomia.Configuration.Xml.XmlParservoid Merge(String fileName, XmlConfigSource source)
merge a xml file with an existing XmlConfigSource.
-
fileName- fileName. -
source- source.
void Merge(Stream stream, XmlConfigSource source)
merge a xml file stream with an existing XmlConfigSource.
-
stream- stream. -
source- source.
XmlConfigSource Parse(String fileName)
parse a xml file to a XmlConfigSource.
-
fileName- fileName.
XmlConfigSource Parse(Stream stream, String fileName = )
parse a xml file to a IniConfigSource.
-
stream- stream. -
fileName- (Optional) fileName.
XmlConfigSource Parse(Stream stream, XmlConfigSource source, String fileName = )
parse a xml file to a IniConfigSource.
-
stream- stream. -
source- source. -
fileName- (Optional) fileName.