[]
Collection which supports sorting.
public class C1SortDataCollection<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 |
Name | Description |
---|---|
C1SortDataCollection(IEnumerable<T>) | Initializes a new instance of the C1SortDataCollection<T> class. |
Name | Description |
---|---|
Cache | Gets or sets the cache used to store compiled predicates. |
InternalList | Gets or sets the list that hold the items to be returned in the public api. |
IsSorted | Gets whether the collection is sorted. |
RunSynchronously | Gets or sets whether the sorting is performed synchronously. |
SortDescriptions | Gets the sort descriptions applied to the data. |
UseCPUsInParallel | Gets or sets a value indicating whether the operations will be performed using parallels CPU's. |
Name | Description |
---|---|
CanInsertRange(int, IEnumerable<T>) | Determines whether a new range of items can be inserted in the collection at the specified |
CanMove(int, int) | Determines whether the item at fromIndex can be moved to toIndex. |
CanMoveRange(int, int, int) | Determines whether the item at |
CanRemoveRange(int, int) | Determines whether a range of items at the specified |
CanReplaceRange(int, IEnumerable<T>) | Determines whether the items starting at the specified |
CanSort(params SortDescription[]) | Returns whether the collection is able to sort the specified sort descriptions. |
GetSourceIndex(int) | Gets the index of the item at the specified index in the source. |
InsertAsync(int, T, CancellationToken) | Inserts the specified item at the specified index in the collection. |
MoveAsync(int, int, CancellationToken) | Moves an item from the specified position to the new one. |
OnSourceCollectionChanged(object?, NotifyCollectionChangedEventArgs) | Called when the source collection changed. |
RemoveAsync(int, CancellationToken) | Removes the item at the specified index from the collection. |
ReplaceAsync(int, T, CancellationToken) | Replaces the item at the specified index by the new specified item. |
SortAsync(SortDescription[], CancellationToken) | Sorts the collection according to the specified sort descriptions. |