CommandLineValueParameterCollection Class

Represents a strongly typed list of CommandLineValueParameterT that can be accessed by an index.

Definition

Namespace: DevCase.Core.Application.Parameterization
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[SerializableAttribute]
[XmlRootAttribute("CommandLineValueParameterCollection")]
public class CommandLineValueParameterCollection : Collection<CommandLineValueParameter<IConvertible>>
Inheritance
Object    CollectionCommandLineValueParameterIConvertible    CommandLineValueParameterCollection

Example

This is a code example.
C#
No code example is currently available or this language may not be supported.

Constructors

CommandLineValueParameterCollection Initializes a new instance of the CommandLineValueParameterCollection class.

Properties

Count Gets the number of elements actually contained in the CollectionT.
(Inherited from CollectionCommandLineValueParameterIConvertible)
ItemInt32 Gets or sets the element at the specified index.
(Inherited from CollectionCommandLineValueParameterIConvertible)
ItemString Gets or sets the CommandLineValueParameterT that matches the specified key name.

Methods

Add Adds a CommandLineValueParameterT to the end of the CommandLineValueParameterCollection.
AddRange Adds the specified parameters to the end of the CommandLineValueParameterCollection.
Clear Removes all elements from the CollectionT.
(Inherited from CollectionCommandLineValueParameterIConvertible)
Contains(T) Determines whether an element is in the CollectionT.
(Inherited from CollectionCommandLineValueParameterIConvertible)
Contains(String) Determines whether the CommandLineValueParameterCollection contains a CommandLineValueParameterT that matches the specified key name.
CopyTo Copies the entire CollectionT to a compatible one-dimensional Array, starting at the specified index of the target array.
(Inherited from CollectionCommandLineValueParameterIConvertible)
Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
Find Searches for an CommandLineValueParameterT that matches the specified parameter name, and returns the first occurrence within the entire CommandLineValueParameterCollection.
GetEnumerator Returns an enumerator that iterates through the CollectionT.
(Inherited from CollectionCommandLineValueParameterIConvertible)
GetHashCode Serves as the default hash function.
(Inherited from Object)
GetType Gets the Type of the current instance.
(Inherited from Object)
IndexOf(T) Searches for the specified object and returns the zero-based index of the first occurrence within the entire CollectionT.
(Inherited from CollectionCommandLineValueParameterIConvertible)
IndexOf(String) Searches for an CommandLineValueParameterT that matches the specified key name and returns the zero-based index of the first occurrence within the entire CommandLineValueParameterCollection.
Insert Inserts an element into the CollectionT at the specified index.
(Inherited from CollectionCommandLineValueParameterIConvertible)
Remove(CommandLineValueParameterIConvertible) Removes a CommandLineValueParameterT from the CommandLineValueParameterCollection.
Remove(String) Removes a CommandLineValueParameterT from the CommandLineValueParameterCollection.
RemoveAt Removes the element at the specified index of the CollectionT.
(Inherited from CollectionCommandLineValueParameterIConvertible)
ToString Returns a string that represents the current object.
(Inherited from Object)

Extension Methods

CanConvertTo Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions)
CanConvertToT Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions)
ConvertToT Converts an object to the specified target type.

If the conversion fails, an exception is thrown.
(Defined by ObjectExtensions)

ConvertToT Converts an object to the specified target type.

If the conversion fails, returns the specified default value.
(Defined by ObjectExtensions)

IsDisposable Determines whether the specified object is a disposable type (i.e., it implements IDisposable interface).
(Defined by ObjectExtensions)
Speak Speaks the string representation of the source object by using the operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions)
Speak Speaks the string representation of the source object by using the operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions)
ThrowIfNullTException Throws the specified exception if the source object is null.
(Defined by ObjectExtensions)

See Also