Class ChangeSet<T>
- Namespace
- Dynamic
Data
- Assembly
- DynamicData.dll
A set of changes which has occurred since the last reported change.
public class ChangeSet<T> : List<Change<T>>, IList<Change<T>>, ICollection<Change<T>>, IList, ICollection, IReadOnlyList<Change<T>>, IReadOnlyCollection<Change<T>>, IChangeSet<T>, IEnumerable<Change<T>>, IEnumerable, IChangeSet where T : notnull
Type Parameters
T
The type of the object.
- Inheritance
-
ChangeSet<T>
- Implements
-
ICollection<Change<T>>IRead
Only <Change<T>>List IChangeSet <T>IEnumerable<Change<T>>
- Inherited Members
- Extension Methods
Constructors
ChangeSet()
Initializes a new instance of the ChangeSet<T> class.
ChangeSet(IEnumerable<Change<T>>)
Initializes a new instance of the ChangeSet<T> class.
Parameters
items
IEnumerable<Change<T>>The items.
Exceptions
- Argument
Null Exception items.
ChangeSet(int)
Initializes a new instance of the ChangeSet<T> class.
Parameters
capacity
intThe initial capacity of the change set.
Fields
Empty
An empty change set.
Field Value
- IChange
Set <T>
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
Replaced
Gets the number of updates.
Property Value
TotalChanges
Gets the total number if individual item changes.
Property Value
Methods
ToString()
Returns a string that represents this instance.