Class OptionSetParser
Defines a common interface for option set parsers.
public abstract class OptionSetParser
- Inheritance
-
OptionSetParser
- Derived
- Inherited Members
Constructors
OptionSetParser()
protected OptionSetParser()
Methods
Parse(IReadOnlyList<string>, ILog)
Parses an option set from a list of command-line arguments.
public abstract OptionSet Parse(IReadOnlyList<string> arguments, ILog log)
Parameters
argumentsIReadOnlyList<string>A list of command-line arguments.
logILogA log to which messages can be sent as arguments are parsed.
Returns
- OptionSet
A parsed option set.