Class DataPairCollection
Provides a collection of DataPair.
Implements
System.Collections.Generic.IList<DataPair>
System.Collections.Generic.ICollection<DataPair>
System.Collections.Generic.IReadOnlyList<DataPair>
System.Collections.Generic.IReadOnlyCollection<DataPair>
System.Collections.Generic.IEnumerable<DataPair>
System.Collections.IList
System.Collections.ICollection
System.Collections.IEnumerable
Inherited Members
System.Collections.ObjectModel.Collection<Cuemon.DataPair>.System.Collections.IList.get_Item(System.Int32)
System.Collections.ObjectModel.Collection<Cuemon.DataPair>.System.Collections.IList.set_Item(System.Int32, System.Object)
System.Collections.ObjectModel.Collection<Cuemon.DataPair>.Add(Cuemon.DataPair)
System.Collections.ObjectModel.Collection<Cuemon.DataPair>.Clear()
System.Collections.ObjectModel.Collection<Cuemon.DataPair>.ClearItems()
System.Collections.ObjectModel.Collection<Cuemon.DataPair>.Contains(Cuemon.DataPair)
System.Collections.ObjectModel.Collection<Cuemon.DataPair>.CopyTo(Cuemon.DataPair[], System.Int32)
System.Collections.ObjectModel.Collection<Cuemon.DataPair>.GetEnumerator()
System.Collections.ObjectModel.Collection<Cuemon.DataPair>.IndexOf(Cuemon.DataPair)
System.Collections.ObjectModel.Collection<Cuemon.DataPair>.Insert(System.Int32, Cuemon.DataPair)
System.Collections.ObjectModel.Collection<Cuemon.DataPair>.InsertItem(System.Int32, Cuemon.DataPair)
System.Collections.ObjectModel.Collection<Cuemon.DataPair>.Remove(Cuemon.DataPair)
System.Collections.ObjectModel.Collection<Cuemon.DataPair>.RemoveAt(System.Int32)
System.Collections.ObjectModel.Collection<Cuemon.DataPair>.RemoveItem(System.Int32)
System.Collections.ObjectModel.Collection<Cuemon.DataPair>.SetItem(System.Int32, Cuemon.DataPair)
System.Collections.ObjectModel.Collection<Cuemon.DataPair>.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
System.Collections.ObjectModel.Collection<Cuemon.DataPair>.System.Collections.IEnumerable.GetEnumerator()
System.Collections.ObjectModel.Collection<Cuemon.DataPair>.System.Collections.IList.Add(System.Object)
System.Collections.ObjectModel.Collection<Cuemon.DataPair>.System.Collections.IList.Contains(System.Object)
System.Collections.ObjectModel.Collection<Cuemon.DataPair>.System.Collections.IList.IndexOf(System.Object)
System.Collections.ObjectModel.Collection<Cuemon.DataPair>.System.Collections.IList.Insert(System.Int32, System.Object)
System.Collections.ObjectModel.Collection<Cuemon.DataPair>.System.Collections.IList.Remove(System.Object)
System.Collections.ObjectModel.Collection<Cuemon.DataPair>.Count
System.Collections.ObjectModel.Collection<Cuemon.DataPair>.Item[System.Int32]
System.Collections.ObjectModel.Collection<Cuemon.DataPair>.Items
System.Collections.ObjectModel.Collection<Cuemon.DataPair>.System.Collections.Generic.ICollection<Cuemon.DataPair>.IsReadOnly
System.Collections.ObjectModel.Collection<Cuemon.DataPair>.System.Collections.ICollection.IsSynchronized
System.Collections.ObjectModel.Collection<Cuemon.DataPair>.System.Collections.ICollection.SyncRoot
System.Collections.ObjectModel.Collection<Cuemon.DataPair>.System.Collections.IList.IsFixedSize
System.Collections.ObjectModel.Collection<Cuemon.DataPair>.System.Collections.IList.IsReadOnly
System.Collections.ObjectModel.Collection<Cuemon.DataPair>.System.Collections.IList.Item[System.Int32]
Namespace: Cuemon.Collections
Assembly: Cuemon.Core.dll
Syntax
public class DataPairCollection : Collection<DataPair>, IList<DataPair>, ICollection<DataPair>, IReadOnlyList<DataPair>, IReadOnlyCollection<DataPair>, IEnumerable<DataPair>, IList, ICollection, IEnumerable
Constructors
| Improve this DocDataPairCollection()
Initializes a new instance of the DataPairCollection class.
Declaration
public DataPairCollection()
Methods
| Improve this DocAdd<T>(String, T)
Adds a new DataPair<T> to the end of this DataPairCollection.
Declaration
public void Add<T>(string name, T value)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name of the data pair. |
T | value | The value of the data pair. |
Type Parameters
Name | Description |
---|---|
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.
Declaration
public void Add<T>(string name, T value, Type typeOf)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name of the data pair. |
T | value | The value of the data pair. |
System.Type | typeOf | The type of the data pair. |
Type Parameters
Name | Description |
---|---|
T | The type of the data being added to this instance. |
Implements
System.Collections.Generic.IList<T>
System.Collections.Generic.ICollection<T>
System.Collections.Generic.IReadOnlyList<T>
System.Collections.Generic.IReadOnlyCollection<T>
System.Collections.Generic.IEnumerable<T>
System.Collections.IList
System.Collections.ICollection
System.Collections.IEnumerable