MicroDataPointCollectionViewBase<T> Class
Represents a base class for collection views into a source collection.
public abstract class MicroDataPointCollectionViewBase<T>
- Type Parameters:
-
T-
- Inheritance:
- object object
- Derived:
- MicroXYDataPointCollectionView
Constructors
MicroDataPointCollectionViewBase()
Initializes an instance of the class.
protected MicroDataPointCollectionViewBase()
Properties
Collection
The IEnumerable<T> presented by this view.
Count
The number of records in the view.
public int Count { get; protected set; }
Property Value
Remarks
If a filter is set, this property value only includes items that pass the filter. If the underlying collection is of type IEnumerable, this is an O(N) operation. This value is cached until the collection changes.
Methods
EnsureInitialized()
Ensures that this instance is currently initialized.
protected void EnsureInitialized()
GetEnumerator()
Returns an enumerator that iterates through the collection.
public IEnumerator<T> GetEnumerator()
Returns
- IEnumerator<T>:
An enumerator that can be used to iterate through the collection.
IndexOf(T)
Returns the index at which the specified item is located, or –1 if the item is unknown.
Initialize()
Initializes this instance.
protected virtual void Initialize()
Inherited Members
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()