Table of Contents

Class LoadedDatasetInfo

Namespace
EncDotNet.S100.Datasets.Pipelines.Interoperability
Assembly
EncDotNet.S100.Core.dll

Identifies a currently-loaded dataset to the S-98 interoperability rule engine. Carries the minimum information a rule needs to decide whether it should fire: which product spec the dataset conforms to and whether the dataset is currently active for display.

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

Constructors

LoadedDatasetInfo(string, string, bool)

Identifies a currently-loaded dataset to the S-98 interoperability rule engine. Carries the minimum information a rule needs to decide whether it should fire: which product spec the dataset conforms to and whether the dataset is currently active for display.

public LoadedDatasetInfo(string DatasetId, string ProductSpec, bool Active)

Parameters

DatasetId string

Stable identifier matching SourceDatasetId (typically the dataset's file name or exchange-set relative path).

ProductSpec string

Product specification name (e.g. "S-101", "S-102"). Matches Name.

Active bool

Whether this dataset is currently active for display. The Active flag is in-memory only (PR-L3); the Layer Controls UI toggles it via IDatasetLoaderService.SetActive. A rule that suppresses S-101 features when S-102 is loaded must only fire when the S-102 dataset is Active; an inactive S-102 must not suppress S-101.

Active vs DatasetEntry.IsVisible. The two flags are independent and serve different layers of the stack:

  • DatasetEntry.IsVisible is a purely visual toggle that hides / shows the rendered Mapsui layers without affecting anything else — useful for quickly peeking at what lies beneath one dataset.
  • Active controls whether the dataset participates in S-98 inter-product rule evaluation (e.g. S-102 suppressing S-101 depth features) and in pick. An inactive dataset is fully removed from the cross-product stack — its layers don't paint and its presence doesn't influence sibling products. PR-L4 will persist Active in ViewerSettings.

Properties

Active

Whether this dataset is currently active for display. The Active flag is in-memory only (PR-L3); the Layer Controls UI toggles it via IDatasetLoaderService.SetActive. A rule that suppresses S-101 features when S-102 is loaded must only fire when the S-102 dataset is Active; an inactive S-102 must not suppress S-101.

Active vs DatasetEntry.IsVisible. The two flags are independent and serve different layers of the stack:

  • DatasetEntry.IsVisible is a purely visual toggle that hides / shows the rendered Mapsui layers without affecting anything else — useful for quickly peeking at what lies beneath one dataset.
  • Active controls whether the dataset participates in S-98 inter-product rule evaluation (e.g. S-102 suppressing S-101 depth features) and in pick. An inactive dataset is fully removed from the cross-product stack — its layers don't paint and its presence doesn't influence sibling products. PR-L4 will persist Active in ViewerSettings.
public bool Active { get; init; }

Property Value

bool

DatasetId

Stable identifier matching SourceDatasetId (typically the dataset's file name or exchange-set relative path).

public string DatasetId { get; init; }

Property Value

string

ProductSpec

Product specification name (e.g. "S-101", "S-102"). Matches Name.

public string ProductSpec { get; init; }

Property Value

string