Documentation for the C# command-line option parsing library

OptionDefinition Constructor (Object, OptValType, Type, String, Char[], String[])

Constructor

public OptionDefinition(
   object ID,
   OptValType type,
   Type valueType,
   string description,
   char[] shortNames,
   string[] longNames
);

Parameters

ID
ID of the option
type
Option value type
valueType
the type of value that the option supports (if values are supported, ignored otherwise)
description
User-friendly description of the option
shortNames
The short names to map to this option
longNames
The long names to map to this option

See Also

OptionDefinition Class | CommandLine.OptParse Namespace | OptionDefinition Constructor Overload List