Documentation for the C# command-line option parsing library

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

Constructor

public OptionDefinition(
   object ID,
   OptValType type,
   Type valueType,
   string category,
   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)
category
Category to use to group options when printing
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