Class CollectionStoreDocument
- Namespace
- EncDotNet.S100.Collections.Persistence
- Assembly
- EncDotNet.S100.Collections.dll
The persisted set of collection definitions (the viewer's
collections.json). Holds only references to sources; indexes are
stored separately.
public sealed record CollectionStoreDocument : IEquatable<CollectionStoreDocument>
- Inheritance
-
CollectionStoreDocument
- Implements
- Inherited Members
Constructors
CollectionStoreDocument(int, IReadOnlyList<DatasetCollection>)
The persisted set of collection definitions (the viewer's
collections.json). Holds only references to sources; indexes are
stored separately.
public CollectionStoreDocument(int Version, IReadOnlyList<DatasetCollection> Collections)
Parameters
VersionintThe document format version.
CollectionsIReadOnlyList<DatasetCollection>The collections, in display order.
Fields
CurrentVersion
The format version this library writes.
public const int CurrentVersion = 1
Field Value
Properties
Collections
The collections, in display order.
public IReadOnlyList<DatasetCollection> Collections { get; init; }
Property Value
Empty
An empty document at the current version.
public static CollectionStoreDocument Empty { get; }
Property Value
Version
The document format version.
public int Version { get; init; }