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 Object.ToString())
Public method TryGetValue Gets the value associated with the specified argument in the command-line command.
Top
Extension Methods
  Name Description
Public Extension Method AllParallel<KeyValuePair<String, String> > Determines whether all elements of a sequence satisfy a condition with each item being tested in parallel.
(Defined by CollectionExtensions)
Public Extension Method DistinctBy<KeyValuePair<String, 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 GetEnumValueOrDefault<T> Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension Method Majority<KeyValuePair<String, String> > Returns the majority value in the collection, or default type value if no item represents the majority.
(Defined by CollectionExtensions)
Public Extension Method Majority<KeyValuePair<String, String> > Returns the majority value in the collection, or defaultValue if no item represents the majority.
(Defined by CollectionExtensions)
Public Extension Method MajorityBy<KeyValuePair<String, 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 MajorityBy<KeyValuePair<String, String> , TKey> Returns the majority value in the collection, or defaultValue if no item represents the majority.
(Defined by CollectionExtensions)
Public Extension Method Max<KeyValuePair<String, String> > Returns the largest item from the enumeration.
(Defined by CollectionExtensions)
Public Extension Method Max<KeyValuePair<String, String> > Returns the largest item from the enumeration.
(Defined by CollectionExtensions)
Public Extension Method MaxBy<KeyValuePair<String, String> , TKey> Selects the largest item from the enumeration.
(Defined by CollectionExtensions)
Public Extension Method Median<KeyValuePair<String, 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 Middle<KeyValuePair<String, 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 Min<KeyValuePair<String, String> > Returns the smallest item from the enumeration.
(Defined by CollectionExtensions)
Public Extension Method Min<KeyValuePair<String, String> > Returns the smallest item from the enumeration.
(Defined by CollectionExtensions)
Public Extension Method MinBy<KeyValuePair<String, String> , TKey> Selects the smallest item from the enumeration.
(Defined by CollectionExtensions)
Public Extension Method Minority<KeyValuePair<String, String> > Returns the minority value in the collection, or default type value if no item represents the minority.
(Defined by CollectionExtensions)
Public Extension Method Minority<KeyValuePair<String, String> > Returns the minority value in the collection, or defaultValue if no item represents the minority.
(Defined by CollectionExtensions)
Public Extension Method MinorityBy<KeyValuePair<String, 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 MinorityBy<KeyValuePair<String, String> , TKey> Returns the minority value in the collection, or defaultValue if no item represents the majority.
(Defined by CollectionExtensions)
Public Extension Method StandardDeviation<KeyValuePair<String, String> > Computes the standard deviation over a sequence of Double values.
(Defined by NumericalAnalysisExtensions)
Public Extension Method StandardDeviation<KeyValuePair<String, String> > Computes the standard deviation over a sequence of Decimal values.
(Defined by NumericalAnalysisExtensions)
Public Extension Method StandardDeviation<KeyValuePair<String, String> > Computes the standard deviation over a sequence of Single values.
(Defined by NumericalAnalysisExtensions)
Public Extension Method ToDelimitedString<KeyValuePair<String, 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 ToDelimitedString<KeyValuePair<String, String> > Converts an enumeration to a string that can later be converted back to a list using LoadDelimitedString.
(Defined by CollectionExtensions)
Public Extension Method ToDelimitedString<KeyValuePair<String, String> > Converts an enumeration to a string that can later be converted back to a list using LoadDelimitedString.
(Defined by CollectionExtensions)
Public Extension Method ToPagedList<KeyValuePair<String, String> > Gets a PagedList<T> to paginate source enumeration for a given page and specified pageSize.
(Defined by CollectionExtensions)
Top
See Also