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
| Member | Summary |
|---|---|
TrackedAtomsQueue(IReadOnlyList<T>) | Creates an undoable queue. |
Properties
| Member | Summary |
|---|---|
RecordsHistory |
Constructors in detail
TrackedAtomsQueue(IReadOnlyList<T>)
public TrackedAtomsQueue(IReadOnlyList<T> initial);
Creates an undoable queue.
Parameters
| Name | Type | Description |
|---|---|---|
initial | IReadOnlyList<T><T> | What is already waiting, front first; empty when omitted. |
Properties in detail
RecordsHistory
public virtual bool RecordsHistory { get; }
Type bool