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
DatasetIdstringStable identifier matching SourceDatasetId (typically the dataset's file name or exchange-set relative path).
ProductSpecstringProduct specification name (e.g.
"S-101","S-102"). Matches Name.ActiveboolWhether 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 isActive; 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.IsVisibleis 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. -
Activecontrols 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 inViewerSettings.
-
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.IsVisibleis 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. -
Activecontrols 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 inViewerSettings.
public bool Active { get; init; }
Property Value
DatasetId
Stable identifier matching SourceDatasetId (typically the dataset's file name or exchange-set relative path).
public string DatasetId { get; init; }
Property Value
ProductSpec
Product specification name (e.g. "S-101", "S-102").
Matches Name.
public string ProductSpec { get; init; }