Class DataPairCollection
- Namespace
- Cuemon.Collections
- Assembly
- Cuemon.Core.dll
Provides a collection of DataPair.
public class DataPairCollection : Collection<DataPair>, IList<DataPair>, ICollection<DataPair>, IReadOnlyList<DataPair>, IReadOnlyCollection<DataPair>, IEnumerable<DataPair>, IList, ICollection, IEnumerable
- Inheritance
-
ObjectCollection<DataPair>DataPairCollection
- Implements
-
IList<DataPair>ICollection<DataPair>IReadOnlyList<DataPair>IReadOnlyCollection<DataPair>IEnumerable<DataPair>IListICollectionIEnumerable
- Inherited Members
-
Collection<DataPair>.IList.get_Item(Int32)Collection<DataPair>.IList.set_Item(Int32, Object)Collection<DataPair>.Add(DataPair)Collection<DataPair>.Clear()Collection<DataPair>.ClearItems()Collection<DataPair>.Contains(DataPair)Collection<DataPair>.CopyTo(DataPair[], Int32)Collection<DataPair>.GetEnumerator()Collection<DataPair>.IndexOf(DataPair)Collection<DataPair>.Insert(Int32, DataPair)Collection<DataPair>.InsertItem(Int32, DataPair)Collection<DataPair>.Remove(DataPair)Collection<DataPair>.RemoveAt(Int32)Collection<DataPair>.RemoveItem(Int32)Collection<DataPair>.SetItem(Int32, DataPair)Collection<DataPair>.ICollection.CopyTo(Array, Int32)Collection<DataPair>.IEnumerable.GetEnumerator()Collection<DataPair>.IList.Add(Object)Collection<DataPair>.IList.Contains(Object)Collection<DataPair>.IList.IndexOf(Object)Collection<DataPair>.IList.Insert(Int32, Object)Collection<DataPair>.IList.Remove(Object)Collection<DataPair>.CountCollection<DataPair>.Item[Int32]Collection<DataPair>.ItemsCollection<DataPair>.ICollection<DataPair>.IsReadOnlyCollection<DataPair>.ICollection.IsSynchronizedCollection<DataPair>.ICollection.SyncRootCollection<DataPair>.IList.IsFixedSizeCollection<DataPair>.IList.IsReadOnlyCollection<DataPair>.IList.Item[Int32]
Constructors
DataPairCollection()
Initializes a new instance of the DataPairCollection class.
public DataPairCollection()
Methods
Add<T>(String, T)
Adds a new DataPair<T> to the end of this DataPairCollection.
public void Add<T>(string name, T value)
Parameters
name
StringThe name of the data pair.
value
TThe value of the data pair.
Type Parameters
T
The type of the data being added to this instance.
Add<T>(String, T, Type)
Adds a new DataPair<T> to the end of this DataPairCollection.
public void Add<T>(string name, T value, Type typeOf)
Parameters
name
StringThe name of the data pair.
value
TThe value of the data pair.
typeOf
TypeThe type of the data pair.
Type Parameters
T
The type of the data being added to this instance.