Documentation for the C# command-line option parsing library

OptionResult Members

OptionResult overview

Public Instance Constructors

OptionResult Constructor Constructor

Public Instance Properties

Defintion Get the definition for this result
IsDefined Get if this property has been defined
NumDefinitions Get or set the number of times this option was defined
Value Get or set the value of the option
Values Get or set all the values given for this option

Public Instance Methods

AddValue Add a value
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

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

OptionResult Class | CommandLine.OptParse Namespace | Parser | IOptionResults | OptionResultsDictionary