Skip to main content

TrackedAtomsQueue<T> class

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

A queue whose changes go on the undo stack, picked up by AtomHistory with nothing to register. Each call is one step, including one that puts several in at once.

public sealed class TrackedAtomsQueue<T> : AtomsQueue<T>, IReadableAtom<IReadOnlyList<T>>

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

Constructors

MemberSummary
TrackedAtomsQueue(IReadOnlyList<T>)Creates an undoable queue.

Properties

MemberSummary
RecordsHistory

Constructors in detail

TrackedAtomsQueue(IReadOnlyList<T>)

public TrackedAtomsQueue(IReadOnlyList<T> initial);

Creates an undoable queue.

Parameters

NameTypeDescription
initialIReadOnlyList<T><T>What is already waiting, front first; empty when omitted.

Properties in detail

RecordsHistory

public virtual bool RecordsHistory { get; }

Type bool