Table of Contents

Class FileDatasetInput

Namespace
EncDotNet.S100.Datasets.Pipelines.Catalog
Assembly
EncDotNet.S100.Datasets.Pipelines.dll

One dataset file to load into a FileDatasetCatalog.

public sealed record FileDatasetInput : IEquatable<FileDatasetInput>
Inheritance
FileDatasetInput
Implements
Inherited Members

Constructors

FileDatasetInput(DatasetId, string, string, Func<string, string?>?)

One dataset file to load into a FileDatasetCatalog.

public FileDatasetInput(DatasetId Id, string Spec, string Path, Func<string, string?>? ExternalTextResolver = null)

Parameters

Id DatasetId

Stable identifier for the dataset within the catalog session.

Spec string

The detected product specification name (e.g. "S-101", "S-102"), typically from DatasetPipelineFactory.DetectProductSpec.

Path string

Filesystem path to the dataset file (absolute, or relative to the current working directory).

ExternalTextResolver Func<string, string>

Optional file-name → text delegate for S-101 fileReference attributes (S-101 Feature Catalogue); null for non-S-101 specs or loose cells with no sibling text files.

Properties

ExternalTextResolver

Optional file-name → text delegate for S-101 fileReference attributes (S-101 Feature Catalogue); null for non-S-101 specs or loose cells with no sibling text files.

public Func<string, string?>? ExternalTextResolver { get; init; }

Property Value

Func<string, string>

Id

Stable identifier for the dataset within the catalog session.

public DatasetId Id { get; init; }

Property Value

DatasetId

Path

Filesystem path to the dataset file (absolute, or relative to the current working directory).

public string Path { get; init; }

Property Value

string

Spec

The detected product specification name (e.g. "S-101", "S-102"), typically from DatasetPipelineFactory.DetectProductSpec.

public string Spec { get; init; }

Property Value

string