[]
Base class for data collections.
public abstract class C1DataCollectionBase<T> : IDataCollection<T>, IReadOnlyList<T>, IReadOnlyCollection<T>, IEnumerable<T>, IEnumerable, INotifyCollectionChanged, ISupportIndexing<T>, INotifyPropertyChanged, IDisposable where T : class?
Name | Description |
---|---|
T | The type of the items in the collection. |
Name | Description |
---|---|
C1DataCollectionBase() | Initializes a new instance of the C1DataCollectionBase<T> class. |
Name | Description |
---|---|
Count | Gets the number of elements in the collection. |
InternalList | Gets or sets the list that hold the items to be returned in the public api. |
IsDisposed | Gets whether the collection is disposed. |
this[int] | Gets the element at the specified index in the read-only list. |
Name | Description |
---|---|
Dispose() | |
Dispose(bool) | Called to dispose resources. |
GetEnumerator() | Returns an enumerator that iterates through the collection. |
GetItemType() | Gets the type of the item. |
IndexOf(T) | Gets the index of the specified item. |
OnCollectionChanged(object?, NotifyCollectionChangedEventArgs) | Raises the CollectionChanged event. |
OnPropertyChanged(string?) | Raises the PropertyChanged event. |
Name | Description |
---|---|
CollectionChanged | Occurs after the collection changed. |
PropertyChanged | Occurs when a property value changes. |