Table of Contents

Interface ITrackingSource<T>

Namespace
Rinku.Tracking
Assembly
Rinku.dll

An editable collection of tracked items, independent of storage and UI binding.

public interface ITrackingSource<T> : IReadOnlyList<T>, IReadOnlyCollection<T>, IEnumerable<T>, IEnumerable, ITrackingCommitSource<T>

Type Parameters

T
Inherited Members
Extension Methods

Properties

CanAddNew

Gets whether a new item can be created.

bool CanAddNew { get; }

Property Value

bool

HasChanges

Gets whether the source contains pending changes.

bool HasChanges { get; }

Property Value

bool

Methods

AddNew()

Creates and adds a pending item.

T AddNew()

Returns

T

RevertChanges()

Discards pending changes without undoing confirmations or restoring ordering.

void RevertChanges()