Documentation for the C# command-line option parsing library

OptionResultsDictionary Methods

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

Public Instance Methods

Add Add a result
Clear (inherited from DictionaryBase) Clears the contents of the DictionaryBase instance.
CopyTo (inherited from DictionaryBase) Copies the DictionaryBase elements to a one-dimensional Array at the specified index.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetEnumerator (inherited from DictionaryBase) Returns an IDictionaryEnumerator that can iterate through the DictionaryBase instance.
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.
OnClear (inherited from DictionaryBase) Performs additional custom processes before clearing the contents of the DictionaryBase instance.
OnClearComplete Update the inner index hashtables
OnGet (inherited from DictionaryBase) Gets the element with the specified key and value in the DictionaryBase instance.
OnInsert (inherited from DictionaryBase) Performs additional custom processes before inserting a new element into the DictionaryBase instance.
OnInsertComplete Update the inner index hashtables
OnRemove (inherited from DictionaryBase) Performs additional custom processes before removing an element from the DictionaryBase instance.
OnRemoveComplete Update the inner index hashtables
OnSet (inherited from DictionaryBase) Performs additional custom processes before setting a value in the DictionaryBase instance.
OnSetComplete Update the inner index hashtables
OnValidate Validate the type of the key and value

See Also

OptionResultsDictionary Class | CommandLine.OptParse Namespace | DictionaryParserHelper | BuildParser