Click or drag to resize

Arguments Methods

The Arguments type exposes the following members.

Methods
  Name Description
Public method Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
Public method Static member Escape Escapes a string so that it will be parsed as a single argument by the ToArgs(String) method.
Public method Exists Gets a boolean value that indicates whether the specified argument is present in the command-line command.
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public method GetEnumerator Returns an IEnumerator for iterating through all the command-line command arguments.
Public method GetHashCode Serves as the default hash function.
(Inherited from Object)
Public method GetObjectData Populates a SerializationInfo with the data needed to serialize the target object.
Public method GetType Gets the Type of the current instance.
(Inherited from Object)
Protected method MemberwiseClone Creates a shallow copy of the current Object.
(Inherited from Object)
Public method Static member ParseCommand This function can be used to parse a single parameterized string and turn it into an array of parameters.
Public method Static member ToArgs Provides an array of arguments parsed from the given command using parsing rules similar to those used in POSIX environments.
Public method ToString Gets a string representation of the Arguments object.
(Overrides ObjectToString)
Public method TryGetValue Gets the value associated with the specified argument in the command-line command.
Top
Extension Methods
  Name Description
Public Extension Method AllParallelKeyValuePairString, String Determines whether all elements of a sequence satisfy a condition with each item being tested in parallel.
(Defined by CollectionExtensions)
Public Extension Method DistinctByKeyValuePairString, String, TKey Returns only the elements whose keys are distinct.
(Defined by CollectionExtensions)
Public Extension Method GetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension Method GetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension Method MajorityKeyValuePairString, String Returns the majority value in the collection, or default type value if no item represents the majority.
(Defined by CollectionExtensions)
Public Extension Method MajorityKeyValuePairString, String Returns the majority value in the collection, or defaultValue if no item represents the majority.
(Defined by CollectionExtensions)
Public Extension Method MajorityByKeyValuePairString, String, TKey Returns the majority value in the collection, or default type value if no item represents the majority.
(Defined by CollectionExtensions)
Public Extension Method MajorityByKeyValuePairString, String, TKey Returns the majority value in the collection, or defaultValue if no item represents the majority.
(Defined by CollectionExtensions)
Public Extension Method MaxKeyValuePairString, String Returns the largest item from the enumeration.
(Defined by CollectionExtensions)
Public Extension Method MaxKeyValuePairString, String Returns the largest item from the enumeration.
(Defined by CollectionExtensions)
Public Extension Method MaxByKeyValuePairString, String, TKey Selects the largest item from the enumeration.
(Defined by CollectionExtensions)
Public Extension Method MedianKeyValuePairString, String Gets the median item(s) from an enumeration, i.e., one return item for odd lengths, two for even lengths.
(Defined by CollectionExtensions)
Public Extension Method MiddleKeyValuePairString, String Gets the middle item(s) from an enumeration, i.e., one return item for odd lengths, two for even lengths.
(Defined by CollectionExtensions)
Public Extension Method MinKeyValuePairString, String Returns the smallest item from the enumeration.
(Defined by CollectionExtensions)
Public Extension Method MinKeyValuePairString, String Returns the smallest item from the enumeration.
(Defined by CollectionExtensions)
Public Extension Method MinByKeyValuePairString, String, TKey Selects the smallest item from the enumeration.
(Defined by CollectionExtensions)
Public Extension Method MinorityKeyValuePairString, String Returns the minority value in the collection, or default type value if no item represents the minority.
(Defined by CollectionExtensions)
Public Extension Method MinorityKeyValuePairString, String Returns the minority value in the collection, or defaultValue if no item represents the minority.
(Defined by CollectionExtensions)
Public Extension Method MinorityByKeyValuePairString, String, TKey Returns the minority value in the collection, or default type value if no item represents the majority.
(Defined by CollectionExtensions)
Public Extension Method MinorityByKeyValuePairString, String, TKey Returns the minority value in the collection, or defaultValue if no item represents the majority.
(Defined by CollectionExtensions)
Public Extension Method StandardDeviationKeyValuePairString, String Computes the standard deviation over a sequence of Double values.
(Defined by NumericalAnalysisExtensions)
Public Extension Method StandardDeviationKeyValuePairString, String Computes the standard deviation over a sequence of Decimal values.
(Defined by NumericalAnalysisExtensions)
Public Extension Method StandardDeviationKeyValuePairString, String Computes the standard deviation over a sequence of Single values.
(Defined by NumericalAnalysisExtensions)
Public Extension Method ToDelimitedStringKeyValuePairString, String Converts an enumeration to a string, using the default delimiter ("|") that can later be converted back to a list using LoadDelimitedString.
(Defined by CollectionExtensions)
Public Extension Method ToDelimitedStringKeyValuePairString, String Converts an enumeration to a string that can later be converted back to a list using LoadDelimitedString.
(Defined by CollectionExtensions)
Public Extension Method ToDelimitedStringKeyValuePairString, String Converts an enumeration to a string that can later be converted back to a list using LoadDelimitedString.
(Defined by CollectionExtensions)
Public Extension Method ToPagedListKeyValuePairString, String Gets a PagedListT to paginate source enumeration for a given page and specified pageSize.
(Defined by CollectionExtensions)
Top
See Also