[]
Collection which allows performing changes locally until they are committed to the inner source.
public class C1EditableDataCollection<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 type of the items in the collection. |
| Name | Description |
|---|---|
| C1EditableDataCollection() | Initializes a new instance of the C1EditableDataCollection<T> class. |
| C1EditableDataCollection(IEnumerable) | Initializes a new instance of the C1EditableDataCollection<T> class. |
| Name | Description |
|---|---|
| HasChanges | Gets whether there are local changes. |
| Source | Gets or sets the original source collection. |
| Name | Description |
|---|---|
| CommitChangesAsync(CancellationToken) | Commits the local changes to the source. |
| Dispose(bool) | Called to dispose resources. |
| UndoChangesAsync(CancellationToken) | Undo the local changes. |