Skip to main content

LocalAtomsList<T> class

Namespace: Arlecchino.Atoms.Local · Assembly: Arlecchino.Core

A list the undo stack never sees, for contents the user did not author: a log, search results, the rows of a scan. It notifies and asks for a frame as a TrackedAtomsList does.

public sealed class LocalAtomsList<T> : AtomsList<T>, IReadableAtom<IReadOnlyList<T>>

Inherits from AtomsList<T>
Implements IReadableAtom<IReadOnlyList<T><T>>

Constructors

MemberSummary
LocalAtomsList(IReadOnlyList<T>, IEqualityComparer<T>)Creates a list outside the undo history.

Properties

MemberSummary
RecordsHistory

Constructors in detail

LocalAtomsList(IReadOnlyList<T>, IEqualityComparer<T>)

public LocalAtomsList(IReadOnlyList<T> initial, IEqualityComparer<T> comparer);

Creates a list outside the undo history.

Parameters

NameTypeDescription
initialIReadOnlyList<T><T>What it starts with; empty when omitted.
comparerIEqualityComparer<T><T>How items are compared; the default comparer when omitted.

Properties in detail

RecordsHistory

public virtual bool RecordsHistory { get; }

Type bool