This repository has been 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.Argv
Daniel Baetz edited this page Jun 22, 2019
·
8 revisions
An argv configuration. This class cannot be inherited.
public class Exomia.Configuration.Argv.ArgvConfig
: ConfigBase, IConfig
.ctor
ArgvConfig(IConfigSource
configSource, String
name, String
comment = )
Initializes a new instance of the Exomia.Configuration.Argv.ArgvConfig class.
-
configSource
- The configuration source. -
name
- The name. -
comment
- (Optional) The comment.
An argv configuration source. This class cannot be inherited.
public class Exomia.Configuration.Argv.ArgvConfigSource
: ConfigSourceBase, IConfigSource
.ctor
ArgvConfigSource()IConfig
CreateConfig(String
section, String
comment)
creates a new IConfig.
-
section
- section. -
comment
- comment.
An argv parser.
public static class Exomia.Configuration.Argv.ArgvParser
void
Merge(ArgvConfigSource
source, String[]
argv, Int32
startIndex, String
section, String
comment = )
merge a command line with an existing ArgvConfigSource.
-
source
- source. -
argv
- command line args. -
startIndex
- start index. -
section
- section. -
comment
- (Optional) comment.
ArgvConfigSource
Parse(String[]
argv, Int32
startIndex, String
section, String
comment = )
parse a command line to a ArgvConfigSource.
-
argv
- command line args. -
startIndex
- start index. -
section
- section. -
comment
- (Optional) comment.