Class DatasetCollection
- Namespace
- EncDotNet.S100.Collections
- Assembly
- EncDotNet.S100.Collections.dll
A named, persisted grouping of exchange sets and/or datasets, built from one or more CollectionSources (for example "Alaska ENCs").
public sealed record DatasetCollection : IEquatable<DatasetCollection>
- Inheritance
-
DatasetCollection
- Implements
- Inherited Members
Remarks
A collection stores only references to its sources — paths or URLs
plus options. The metadata of the datasets it contains lives in a separate,
derived SourceIndex per source. See
docs/design/dataset-collections.md.
Constructors
DatasetCollection(Guid, string, IReadOnlyList<CollectionSource>, DateTimeOffset)
A named, persisted grouping of exchange sets and/or datasets, built from one or more CollectionSources (for example "Alaska ENCs").
public DatasetCollection(Guid Id, string Name, IReadOnlyList<CollectionSource> Sources, DateTimeOffset CreatedAt)
Parameters
IdGuidThe collection's stable identifier.
NamestringThe user-facing name.
SourcesIReadOnlyList<CollectionSource>The sources, in display order.
CreatedAtDateTimeOffsetWhen the collection was created.
Remarks
A collection stores only references to its sources — paths or URLs
plus options. The metadata of the datasets it contains lives in a separate,
derived SourceIndex per source. See
docs/design/dataset-collections.md.
Properties
CreatedAt
When the collection was created.
public DateTimeOffset CreatedAt { get; init; }
Property Value
Id
The collection's stable identifier.
public Guid Id { get; init; }
Property Value
Name
The user-facing name.
public string Name { get; init; }
Property Value
Sources
The sources, in display order.
public IReadOnlyList<CollectionSource> Sources { get; init; }