[]
        
(Showing Draft Content)

C1.DataCollection.C1DataCollection-1

C1DataCollection<T> Class

Implements an in-memory collection which takes a data source and applies the sort and filter operations.

Namespace: C1.DataCollection
Assembly: C1.DataCollection.dll
Syntax
public class C1DataCollection<T> : C1WrapDataCollection<object?>, IDataCollection<object?>, IReadOnlyList<object?>, IReadOnlyCollection<object?>, IEnumerable<object?>, IEnumerable, INotifyCollectionChanged, ISupportIndexing<object?>, INotifyPropertyChanged, IDisposable, ISupportSorting, ISupportFiltering, ISupportGrouping, ISupportVirtualization, ISupportConnection, ISupportAsyncLoading<object?>, ISupportIncrementalLoading, ISupportRefreshing, ISupportRangeEditing<object?>, ISupportEditing<object?>, ISupportCreateNewItem<object?>, ISupportPaging, ISupportSource where T : class?
Type Parameters
Name Description
T

The type of the items in the collection.

Constructors

Name Description
C1DataCollection(IEnumerable)

Initializes a new instance of the C1DataCollection<T> class.

Properties

Name Description
UseCPUsInParallel

Gets or sets whether the operations will be performed using CPU's in parallel.

Methods

Name Description
AsPlain()

Returns a IDataCollection<T> whose group items are inline with the data items. Otherwise the collection return the first level of groups and its items must be get from each of the group items.

Dispose(bool)

Called to dispose resources.

Extension Methods