Class CollectionLibraryOptions
- Namespace
- EncDotNet.S100.Collections.Library
- Assembly
- EncDotNet.S100.Collections.dll
Where a CollectionLibrary persists, and how.
public sealed record CollectionLibraryOptions : IEquatable<CollectionLibraryOptions>
- Inheritance
-
CollectionLibraryOptions
- Implements
- Inherited Members
Constructors
CollectionLibraryOptions(string, string)
Where a CollectionLibrary persists, and how.
public CollectionLibraryOptions(string StorePath, string IndexCacheDirectory)
Parameters
StorePathstringThe collection store file (
collections.json).IndexCacheDirectorystringThe folder holding each source's cached index (
<id>.index.json.gz).
Properties
IndexCacheDirectory
The folder holding each source's cached index (<id>.index.json.gz).
public string IndexCacheDirectory { get; init; }
Property Value
ReadOnly
True to never write the store (indexes are still cached).
public bool ReadOnly { get; init; }
Property Value
SessionCollectionName
The display name of the transient collection holding S-128 catalogues loaded this session.
public string SessionCollectionName { get; init; }
Property Value
StorePath
The collection store file (collections.json).
public string StorePath { get; init; }