[]
Wrap collection that is constrained to get and modify a specific property of the data items without affecting the rest of the properties.
public class C1ScopedDataCollection<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 |
This collection can perform group, filter and sort over the specified property path, without affecting the operations applied to the underlying collection that are not related to the scoped property.
Name | Description |
---|---|
C1ScopedDataCollection(IEnumerable, string) | Initializes a new instance of the C1ScopedDataCollection<T> class. |
Name | Description |
---|---|
FilterExpression | Gets the filter expression applied to the data. |
GroupDescriptions | Gets the group descriptions applied to the data. |
PropertyPath | Gets or sets the property path to which this collection is scoped. |
SortDescriptions | Gets the sort descriptions applied to the data. |
Name | Description |
---|---|
CanFilter(FilterExpression?) | Returns whether the collection is able to filter the specified expression. |
CanGroup(params GroupDescription[]) | Returns whether the collection is able to group the specified group descriptions. |
CanSort(params SortDescription[]) | Returns whether the collection is able to sort the specified sort descriptions. |
FilterAsync(FilterExpression?, CancellationToken) | Filters the data using specified filter expression. |
GroupAsync(GroupDescription[], CancellationToken) | Groups the collection according to the specified group descriptions. |
SortAsync(SortDescription[], CancellationToken) | Sorts the collection according to the specified sort descriptions. |