Class CommandLineParameterCollection
Предоставляет методы работы с коллекцией параметров командной строки.
Inheritance
System.Object
System.Collections.ObjectModel.Collection<CommandLineParameter>
CommandLineParameterCollection
Implements
System.Collections.Generic.IList<CommandLineParameter>
System.Collections.Generic.ICollection<CommandLineParameter>
System.Collections.IList
System.Collections.ICollection
System.Collections.Generic.IReadOnlyList<CommandLineParameter>
System.Collections.Generic.IReadOnlyCollection<CommandLineParameter>
System.Collections.Generic.IEnumerable<CommandLineParameter>
System.Collections.IEnumerable
Inherited Members
System.Collections.ObjectModel.Collection<Terrasoft.Common.CommandLineParameter>.Add(Terrasoft.Common.CommandLineParameter)
System.Collections.ObjectModel.Collection<Terrasoft.Common.CommandLineParameter>.Clear()
System.Collections.ObjectModel.Collection<Terrasoft.Common.CommandLineParameter>.CopyTo(Terrasoft.Common.CommandLineParameter[], System.Int32)
System.Collections.ObjectModel.Collection<Terrasoft.Common.CommandLineParameter>.Contains(Terrasoft.Common.CommandLineParameter)
System.Collections.ObjectModel.Collection<Terrasoft.Common.CommandLineParameter>.GetEnumerator()
System.Collections.ObjectModel.Collection<Terrasoft.Common.CommandLineParameter>.IndexOf(Terrasoft.Common.CommandLineParameter)
System.Collections.ObjectModel.Collection<Terrasoft.Common.CommandLineParameter>.Insert(System.Int32, Terrasoft.Common.CommandLineParameter)
System.Collections.ObjectModel.Collection<Terrasoft.Common.CommandLineParameter>.Remove(Terrasoft.Common.CommandLineParameter)
System.Collections.ObjectModel.Collection<Terrasoft.Common.CommandLineParameter>.RemoveAt(System.Int32)
System.Collections.ObjectModel.Collection<Terrasoft.Common.CommandLineParameter>.ClearItems()
System.Collections.ObjectModel.Collection<Terrasoft.Common.CommandLineParameter>.InsertItem(System.Int32, Terrasoft.Common.CommandLineParameter)
System.Collections.ObjectModel.Collection<Terrasoft.Common.CommandLineParameter>.RemoveItem(System.Int32)
System.Collections.ObjectModel.Collection<Terrasoft.Common.CommandLineParameter>.SetItem(System.Int32, Terrasoft.Common.CommandLineParameter)
System.Collections.ObjectModel.Collection<Terrasoft.Common.CommandLineParameter>.System.Collections.IEnumerable.GetEnumerator()
System.Collections.ObjectModel.Collection<Terrasoft.Common.CommandLineParameter>.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
System.Collections.ObjectModel.Collection<Terrasoft.Common.CommandLineParameter>.System.Collections.IList.get_Item(System.Int32)
System.Collections.ObjectModel.Collection<Terrasoft.Common.CommandLineParameter>.System.Collections.IList.set_Item(System.Int32, System.Object)
System.Collections.ObjectModel.Collection<Terrasoft.Common.CommandLineParameter>.System.Collections.IList.Add(System.Object)
System.Collections.ObjectModel.Collection<Terrasoft.Common.CommandLineParameter>.System.Collections.IList.Contains(System.Object)
System.Collections.ObjectModel.Collection<Terrasoft.Common.CommandLineParameter>.System.Collections.IList.IndexOf(System.Object)
System.Collections.ObjectModel.Collection<Terrasoft.Common.CommandLineParameter>.System.Collections.IList.Insert(System.Int32, System.Object)
System.Collections.ObjectModel.Collection<Terrasoft.Common.CommandLineParameter>.System.Collections.IList.Remove(System.Object)
System.Collections.ObjectModel.Collection<Terrasoft.Common.CommandLineParameter>.Count
System.Collections.ObjectModel.Collection<Terrasoft.Common.CommandLineParameter>.Items
System.Collections.ObjectModel.Collection<Terrasoft.Common.CommandLineParameter>.Item[System.Int32]
System.Collections.ObjectModel.Collection<Terrasoft.Common.CommandLineParameter>.System.Collections.Generic.ICollection<Terrasoft.Common.CommandLineParameter>.IsReadOnly
System.Collections.ObjectModel.Collection<Terrasoft.Common.CommandLineParameter>.System.Collections.ICollection.IsSynchronized
System.Collections.ObjectModel.Collection<Terrasoft.Common.CommandLineParameter>.System.Collections.ICollection.SyncRoot
System.Collections.ObjectModel.Collection<Terrasoft.Common.CommandLineParameter>.System.Collections.IList.Item[System.Int32]
System.Collections.ObjectModel.Collection<Terrasoft.Common.CommandLineParameter>.System.Collections.IList.IsReadOnly
System.Collections.ObjectModel.Collection<Terrasoft.Common.CommandLineParameter>.System.Collections.IList.IsFixedSize
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Terrasoft.Common
Assembly: Terrasoft.Common.dll
Syntax
public class CommandLineParameterCollection : Collection<CommandLineParameter>, IList<CommandLineParameter>, ICollection<CommandLineParameter>, IList, ICollection, IReadOnlyList<CommandLineParameter>, IReadOnlyCollection<CommandLineParameter>, IEnumerable<CommandLineParameter>, IEnumerable
Methods
FindByName(String)
Поиск в коллекции по имени параметра.
Declaration
public CommandLineParameter FindByName(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Имя параметра. |
Returns
Type | Description |
---|---|
CommandLineParameter | Экземпляр класса CommandLineParameter, представляющий найденный параметр;
иначе - |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | Если имя передаваемого параметра |
GetByName(String)
Возвращает из коллекции параметр с заданным именем.
Declaration
public CommandLineParameter GetByName(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Имя параметра. |
Returns
Type | Description |
---|---|
CommandLineParameter | Экземпляр класса CommandLineParameter, представляющий найденный параметр. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | Если передаваемый параметр |
ItemNotFoundException | Если параметр с именем |
Implements
System.Collections.Generic.IList<T>
System.Collections.Generic.ICollection<T>
System.Collections.IList
System.Collections.ICollection
System.Collections.Generic.IReadOnlyList<T>
System.Collections.Generic.IReadOnlyCollection<T>
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable