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
| Member | Summary |
|---|---|
LocalAtomsList(IReadOnlyList<T>, IEqualityComparer<T>) | Creates a list outside the undo history. |
Properties
| Member | Summary |
|---|---|
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
| Name | Type | Description |
|---|---|---|
initial | IReadOnlyList<T><T> | What it starts with; empty when omitted. |
comparer | IEqualityComparer<T><T> | How items are compared; the default comparer when omitted. |
Properties in detail
RecordsHistory
public virtual bool RecordsHistory { get; }
Type bool