[]
This collection is a portion of another collection.
public class C1SpanDataCollection<T> : C1WrapDataCollection<T>, IDataCollection<T>, IReadOnlyList<T>, IReadOnlyCollection<T>, IEnumerable<T>, IEnumerable, INotifyCollectionChanged, ISupportIndexing<T>, INotifyPropertyChanged, IDisposable, ISupportSorting, ISupportFiltering, ISupportGrouping, ISupportVirtualization, ISupportConnection, ISupportAsyncLoading<T>, ISupportIncrementalLoading, ISupportRefreshing, ISupportRangeEditing<T>, ISupportEditing<T>, ISupportCreateNewItem<T>, ISupportPaging, ISupportSource where T : class?
| Name | Description |
|---|---|
| T |
The bounds of the collection are specified through the method
| Name | Description |
|---|---|
| C1SpanDataCollection(IEnumerable) | Initializes a new instance of the C1SpanDataCollection<T> class. |
| Name | Description |
|---|---|
| Count | Gets the number of items in this collection. |
| this[int] | Gets the item at the specified position. |
| Length | Gets the maximum number of items that can be in the collection. |
| Start | Gets the index in the underlying collection where this collection starts. |
| TotalCount | Gets the total count of items in the underlying collection. |
| Name | Description |
|---|---|
| CanInsert(int, T) | Determines whether a new item can be inserted in the collection at the specified |
| CanMove(int, int) | Determines whether the item at |
| CanRemove(int) | Determines whether the item at the specified |
| CanReplace(int, T) | Determines whether the item at the specified |
| IndexOf(T) | Gets the index of the specified item. |
| InsertAsync(int, T, CancellationToken) | Inserts the specified |
| MoveAsync(int, int, CancellationToken) | Moves an item from the specified |
| OnSourceCollectionChanged(object?, NotifyCollectionChangedEventArgs) | Called when the source collection changed. |
| RemoveAsync(int, CancellationToken) | Removes the item at the specified |
| ReplaceAsync(int, T, CancellationToken) | Replaces the item at the specified |
| Slice(int, int?) | Specifies the bounds of the collection. |