Enhanced C#
Language of your choice: library documentation
|
Contains information about how a collection is about to change. More...
Contains information about how a collection is about to change.
T | Type of element in the collection |
In contrast to NotifyCollectionChangedEventArgs, this object represents changes that are about to happen, not changes that have happened already.
Public fields | |
readonly NotifyCollectionChangedAction | Action |
Gets a value that indicates the type of change being made to the collection. More... | |
readonly int | Index |
Gets the index at which the add, remove, or change operation starts. More... | |
readonly int | SizeChange |
Gets the amount by which the collection size changes. When items are being added, this is positive, and when items are being removed, this is negative. This is 0 when existing items are only being replaced. More... | |
readonly IListSource< T > | NewItems |
Represents either new items that are being added to the collection, or items that are about to replace existing items in the collection. This member is null or empty when items are being removed. More... | |
Public Member Functions | |
ListChangeInfo (NotifyCollectionChangedAction action, int index, int sizeChange, IListSource< T > newItems) | |
Initializes the members of ListChangeInfo{T}. More... | |
|
inline |
Initializes the members of ListChangeInfo{T}.
readonly NotifyCollectionChangedAction Loyc.Collections.ListChangeInfo< T >.Action |
Gets a value that indicates the type of change being made to the collection.
readonly int Loyc.Collections.ListChangeInfo< T >.Index |
Gets the index at which the add, remove, or change operation starts.
readonly IListSource<T> Loyc.Collections.ListChangeInfo< T >.NewItems |
Represents either new items that are being added to the collection, or items that are about to replace existing items in the collection. This member is null or empty when items are being removed.
readonly int Loyc.Collections.ListChangeInfo< T >.SizeChange |
Gets the amount by which the collection size changes. When items are being added, this is positive, and when items are being removed, this is negative. This is 0 when existing items are only being replaced.