Class OptionSetParser

Namespace
Pixie.Options
Assembly
Pixie.dll

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

arguments IReadOnlyList<string>

A list of command-line arguments.

log ILog

A log to which messages can be sent as arguments are parsed.

Returns

OptionSet

A parsed option set.