Table of Contents

Struct TrackingListChange<T>

Namespace
Rinku.Tracking
Assembly
Rinku.dll

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

kind TrackingListChangeKind
index int
oldIndex int
item T
oldItem T

Properties

Index

Gets the current index.

public int Index { get; }

Property Value

int

Item

Gets the current item.

public T? Item { get; }

Property Value

T

Kind

Gets the kind of change.

public TrackingListChangeKind Kind { get; }

Property Value

TrackingListChangeKind

OldIndex

Gets the previous index.

public int OldIndex { get; }

Property Value

int

OldItem

Gets the previous item.

public T? OldItem { get; }

Property Value

T