Documentation for the C# command-line option parsing library

OptionDefinition Constructor (Object, OptValType, Type, String, String)

Constructor

public OptionDefinition(
   object ID,
   OptValType type,
   Type valueType,
   string description,
   string longName
);

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
longName
The long name to map to this option

See Also

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