Class ChangeSet<TObject, TKey>
- Namespace
- Dynamic
Data
- Assembly
- DynamicData.dll
A collection of changes.
public class ChangeSet<TObject, TKey> : List<Change<TObject, TKey>>, IList<Change<TObject, TKey>>, ICollection<Change<TObject, TKey>>, IList, ICollection, IReadOnlyList<Change<TObject, TKey>>, IReadOnlyCollection<Change<TObject, TKey>>, IChangeSet<TObject, TKey>, IChangeSet, IEnumerable<Change<TObject, TKey>>, IEnumerable where TObject : notnull where TKey : notnull
Type Parameters
TObject
The type of the object.
TKey
The type of the key.
- Inheritance
-
ChangeSet<TObject, TKey>
- Implements
-
ICollection<Change<TObject, TKey>>IRead
Only <Change<TObject, TKey>>List IReadOnly <Change<TObject, TKey>>Collection IChangeSet <TObject, TKey>IEnumerable<Change<TObject, TKey>>
- Derived
- Inherited Members
- Extension Methods
Constructors
ChangeSet()
Initializes a new instance of the ChangeSet<TObject, TKey> class.
ChangeSet(IEnumerable<Change<TObject, TKey>>)
Initializes a new instance of the ChangeSet<TObject, TKey> class.
Parameters
collection
IEnumerable<Change<TObject, TKey>>The collection of items to start the change set with.
ChangeSet(int)
Initializes a new instance of the ChangeSet<TObject, TKey> class.
Parameters
capacity
intThe initial capacity of the change set.
Fields
Empty
An empty change set.
Field Value
- Change
Set <TObject, TKey>
Properties
Adds
Gets the number of additions.
Property Value
Moves
Gets the number of moves.
Property Value
Refreshes
Gets the number of refreshes.
Property Value
Removes
Gets the number of removes.
Property Value
Updates
Gets the number of updates.