CSharpTest.Net
ArgumentList Class Members
See Also  Properties  Methods  Send Feedback Download Help File
CSharpTest.Net.Library Assembly > CSharpTest.Net.Utils Namespace : ArgumentList Class


Glossary Item Box

The following tables list the members exposed by ArgumentList.

Public Constructors

 NameDescription
Public ConstructorArgumentList ConstructorOverloaded.   
Top

Public Properties

 NameDescription
Public PropertyComparerGets the generic equality comparer that is used to determine equality of keys in the collection. (Inherited from System.Collections.ObjectModel.KeyedCollection<string,ArgumentList.Item>)
Public PropertyCountGets the number of elements actually contained in the Collection. (Inherited from System.Collections.ObjectModel.Collection<ArgumentList.Item>)
Public Propertystatic (Shared in Visual Basic)DefaultComparisonControls the default string comparer used for this class  
Public PropertyItemOverloaded. Gets the element with the specified key. (Inherited from System.Collections.ObjectModel.KeyedCollection<string,ArgumentList.Item>)
Public PropertyKeysA string collection of all keys in the arguments  
Public Propertystatic (Shared in Visual Basic)NameDelimetersControls the allowable delimeter characters seperate argument names from values  
Public Propertystatic (Shared in Visual Basic)PrefixCharsControls the allowable prefix characters that will preceed named arguments  
Public PropertyUnnamedReturns 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).  
Top

Protected Properties

Public Methods

 NameDescription
Public MethodAddOverloaded. Adds a name/value pair to the collection of arguments, if value is null the name is added with no values.  
Public MethodAddRangeParses 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"  
Public MethodClearRemoves all elements from the Collection. (Inherited from System.Collections.ObjectModel.Collection<ArgumentList.Item>)
Public MethodContainsOverloaded. Determines whether an element is in the Collection. (Inherited from System.Collections.ObjectModel.KeyedCollection<string,ArgumentList.Item>)
Public MethodCopyToCopies 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>)
Public Methodstatic (Shared in Visual Basic)EscapeArgumentsThe 'more' correct escape/join for arguments  
Public MethodGetEnumeratorReturns an enumerator that iterates through the Collection. (Inherited from System.Collections.ObjectModel.Collection<ArgumentList.Item>)
Public MethodIndexOfSearches 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>)
Public MethodInsertInserts an element into the Collection at the specified index. (Inherited from System.Collections.ObjectModel.Collection<ArgumentList.Item>)
Public Methodstatic (Shared in Visual Basic)ParseParses the individual arguments from the given input string.  
Public Methodstatic (Shared in Visual Basic)RemoveOverloaded. 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.  
Public MethodRemoveAtRemoves the element at the specified index of the Collection. (Inherited from System.Collections.ObjectModel.Collection<ArgumentList.Item>)
Public MethodSafeGetReturns an Item of name even if it does not exist  
Public MethodTryGetValueOverloaded. Returns true if the value was found by that name and set the output value  
Public Methodstatic (Shared in Visual Basic)TryParseNameValueAttempts to parse a name value pair from '/name=value' format  
Top

Protected Methods

 NameDescription
Protected MethodChangeItemKeyChanges the key associated with the specified element in the lookup dictionary. (Inherited from System.Collections.ObjectModel.KeyedCollection<string,ArgumentList.Item>)
Protected MethodClearItemsRemoves all elements from the Collection. (Inherited from System.Collections.ObjectModel.Collection<ArgumentList.Item>)
Protected MethodGetKeyForItemOverridden. Abract override for extracting key  
Protected MethodInsertItemInserts an element into the Collection at the specified index. (Inherited from System.Collections.ObjectModel.Collection<ArgumentList.Item>)
Protected MethodRemoveItemRemoves the element at the specified index of the Collection. (Inherited from System.Collections.ObjectModel.Collection<ArgumentList.Item>)
Protected MethodSetItemReplaces the element at the specified index. (Inherited from System.Collections.ObjectModel.Collection<ArgumentList.Item>)
Top

See Also

Generated with Document! X 2011 by Innovasys