Documentation for the C# command-line option parsing library

OptionDefinition Methods

The methods of the OptionDefinition class are listed below. For a complete list of OptionDefinition class members, see the OptionDefinition Members topic.

Public Static Methods

CreateDefinitions Helper method to create OptionDefinition instances for each string in definitions

Public Instance Methods

ConvertValue Try to convert a given value to the value that this option supports
Equals See Equals
GetHashCode See GetHashCode
GetType (inherited from Object) Gets the Type of the current instance.
ToString Produce a string version of this variable

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

OptionDefinition Class | CommandLine.OptParse Namespace