Documentation for the C# command-line option parsing library

ParserFactory.BuildParser Method (OptionDefinition[], OptionResultsDictionary)

Build a parser

public static Parser BuildParser(
   OptionDefinition[] optDefs,
   OptionResultsDictionary valuesDictionary
);

Parameters

optDefs
The supported options
valuesDictionary
The dictionary to store the option results in

Return Value

Parser instance

See Also

ParserFactory Class | CommandLine.OptParse Namespace | ParserFactory.BuildParser Overload List