Documentation for the C# command-line option parsing library

Parser Constructor 

Constructor

public Parser(
   IOptionResults resultsHandler
);

Parameters

resultsHandler
The interface containing the option definitions and handles the results of parsing.

Remarks

The resultsHandler object is resposible for maintaining the option definitions and stores the results of parsing.

The ParserFactory class can assist with constructing instances of the parser (handles IOptionResults object creating). If the factory is not used, the PropertyFieldParserHelper and DictionaryParserHelper classes can be used.

See Also

Parser Class | CommandLine.OptParse Namespace | ParserFactory