Struct TrackingListChange<T>
Describes a structural list change.
public readonly record struct TrackingListChange<T> : IEquatable<TrackingListChange<T>>
Type Parameters
T
- Implements
- Inherited Members
- Extension Methods
Constructors
TrackingListChange(TrackingListChangeKind, int, int, T?, T?)
Creates a list change description.
public TrackingListChange(TrackingListChangeKind kind, int index, int oldIndex, T? item, T? oldItem)
Parameters
kindTrackingListChangeKindindexintoldIndexintitemToldItemT
Properties
Index
Gets the current index.
public int Index { get; }
Property Value
Item
Gets the current item.
public T? Item { get; }
Property Value
- T
Kind
Gets the kind of change.
public TrackingListChangeKind Kind { get; }
Property Value
OldIndex
Gets the previous index.
public int OldIndex { get; }
Property Value
OldItem
Gets the previous item.
public T? OldItem { get; }
Property Value
- T