![]() |
DotNet-Arguments 2.0.0
A simple and 'to-the-point' library to parse launch arguments in .NET and .NET Core applications.
|
| ▼NNibblePoker | |
| ▼NLibrary | |
| ▼NArguments | |
| CArgumentsParser | Static class that contains a function related to parsing launch arguments. |
| ▼CExceptions | Static class that contains all exceptions thrown in the 'NibblePoker.Library.Arguments' library. |
| CArgumentsException | Common parent exception extended by all exceptions in this library. |
| CDuplicateOptionException | Thrown by Verb.RegisterOption if a given Option already has a duplicate registered in the Verb. |
| CDuplicateVerbException | Thrown by Verb.RegisterVerb if a given Verb already has a duplicate registered in the parent Verb. |
| CExistingDefaultMultipleOptionException | Thrown by Verb.RegisterOption if the given Option has the Default flag and is registered after one that also has OptionFlags.Default, OptionFlags.HasValue and OptionFlags.Repeatable flags. |
| CInvalidArgumentException | Thrown by ArgumentsParser.ParseArguments if it is given a – token twice, or after reaching the end of options. |
| CInvalidFlagsException | Thrown if an Option is given an invalid OptionFlags combination. |
| CInvalidVerbNameException | Thrown if a Verb, whose name is null or empty, is passed to Verb.RegisterVerb. |
| CMissingOptionIdentifierException | Thrown if an Option is instantiated without a token or a name. |
| CMissingRequiredOptionException | Thrown by ArgumentsParser.ParseArguments if an Option with the OptionFlags.Required flag wasn't used after all arguments were parsed. |
| CNoDefaultOptionFoundException | Thrown by ArgumentsParser.ParseArguments if no appropriate Option with the OptionFlags.Default flag could be found when needed. |
| CNotEnoughArgumentsException | Thrown by ArgumentsParser.ParseArguments if a given Option needs to have a value, but is the last argument. |
| COptionException | Common parent exception extended by all exceptions thrown by the Option class. |
| COptionHasValueAndMoreShortsException | Thrown by ArgumentsParser.ParseArguments if a short Option with an expected value isn't given at the end of a short options block. |
| COptionValueOverflowException | Thrown by ArgumentsParser.ParseArguments if a given Option that could only hold one value was made to hold more. |
| CParserException | Common parent exception extended by all exceptions thrown by the parser. |
| CRepeatedSingularOptionException | Thrown by ArgumentsParser.ParseArguments if a given Option that could only be used once was used twice. |
| CUnknownOptionException | Thrown by ArgumentsParser.ParseArguments if a given Option couldn't be found while parsing. |
| CVerbException | Common parent exception extended by all exceptions thrown by the Verb class. |
| CHelpText | Static class that contains helpers related to printing a help text. |
| COption | Class Option models an option linked to one or more Verb that can be given in launch arguments to pass a value or toggle some behaviour/actions. |
| CVerb | Class Verb models a verb that can be given in launch arguments to select a specific action or subset of usable launch parameters. |