The following tables list the members exposed by ArgumentList.
Name | Description | |
---|---|---|
ArgumentList Constructor | Overloaded. |
Name | Description | |
---|---|---|
Comparer | Gets the generic equality comparer that is used to determine equality of keys in the collection. (Inherited from System.Collections.ObjectModel.KeyedCollection<string,ArgumentList.Item>) | |
Count | Gets the number of elements actually contained in the Collection. (Inherited from System.Collections.ObjectModel.Collection<ArgumentList.Item>) | |
DefaultComparison | Controls the default string comparer used for this class | |
Item | Overloaded. Gets the element with the specified key. (Inherited from System.Collections.ObjectModel.KeyedCollection<string,ArgumentList.Item>) | |
Keys | A string collection of all keys in the arguments | |
NameDelimeters | Controls the allowable delimeter characters seperate argument names from values | |
PrefixChars | Controls the allowable prefix characters that will preceed named arguments | |
Unnamed | Returns a list of arguments that did not start with a character in the PrefixChars static collection. These arguments can be modified by the methods on the returned collection, or you set this property to a new collection (a copy is made). |
Name | Description | |
---|---|---|
Dictionary | Gets the lookup dictionary of the KeyedCollection. (Inherited from System.Collections.ObjectModel.KeyedCollection<string,ArgumentList.Item>) | |
Items | Gets a IList wrapper around the Collection. (Inherited from System.Collections.ObjectModel.Collection<ArgumentList.Item>) |
Name | Description | |
---|---|---|
Add | Overloaded. Adds a name/value pair to the collection of arguments, if value is null the name is added with no values. | |
AddRange | Parses the strings provided for switch names and optionally values, by default in one of the following forms: "/name=value", "/name:value", "-name=value", "-name:value" | |
Clear | Removes all elements from the Collection. (Inherited from System.Collections.ObjectModel.Collection<ArgumentList.Item>) | |
Contains | Overloaded. Determines whether an element is in the Collection. (Inherited from System.Collections.ObjectModel.KeyedCollection<string,ArgumentList.Item>) | |
CopyTo | Copies the entire Collection to a compatible one-dimensional System.Array, starting at the specified index of the target array. (Inherited from System.Collections.ObjectModel.Collection<ArgumentList.Item>) | |
EscapeArguments | The 'more' correct escape/join for arguments | |
GetEnumerator | Returns an enumerator that iterates through the Collection. (Inherited from System.Collections.ObjectModel.Collection<ArgumentList.Item>) | |
IndexOf | Searches for the specified object and returns the zero-based index of the first occurrence within the entire Collection. (Inherited from System.Collections.ObjectModel.Collection<ArgumentList.Item>) | |
Insert | Inserts an element into the Collection at the specified index. (Inherited from System.Collections.ObjectModel.Collection<ArgumentList.Item>) | |
Parse | Parses the individual arguments from the given input string. | |
Remove | Overloaded. Searches the arguments until it finds a switch or value by the name in find and if found it will: A) Remove the item from the arguments B) Set the out parameter value to any value found, or null if just '/name' C) Returns true that it was found and removed. | |
RemoveAt | Removes the element at the specified index of the Collection. (Inherited from System.Collections.ObjectModel.Collection<ArgumentList.Item>) | |
SafeGet | Returns an Item of name even if it does not exist | |
TryGetValue | Overloaded. Returns true if the value was found by that name and set the output value | |
TryParseNameValue | Attempts to parse a name value pair from '/name=value' format |
Name | Description | |
---|---|---|
ChangeItemKey | Changes the key associated with the specified element in the lookup dictionary. (Inherited from System.Collections.ObjectModel.KeyedCollection<string,ArgumentList.Item>) | |
ClearItems | Removes all elements from the Collection. (Inherited from System.Collections.ObjectModel.Collection<ArgumentList.Item>) | |
GetKeyForItem | Overridden. Abract override for extracting key | |
InsertItem | Inserts an element into the Collection at the specified index. (Inherited from System.Collections.ObjectModel.Collection<ArgumentList.Item>) | |
RemoveItem | Removes the element at the specified index of the Collection. (Inherited from System.Collections.ObjectModel.Collection<ArgumentList.Item>) | |
SetItem | Replaces the element at the specified index. (Inherited from System.Collections.ObjectModel.Collection<ArgumentList.Item>) |