Table of Contents

Class S98RuleContext

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

Inputs to a single S98InteroperabilityRule evaluation: the set of currently-loaded datasets plus optional mariner state (used by rules whose effect depends on viewer settings, e.g. the safety-contour exception to R-101-102-B).

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

Constructors

S98RuleContext(IReadOnlyList<LoadedDatasetInfo>, MarinerSettings?)

Inputs to a single S98InteroperabilityRule evaluation: the set of currently-loaded datasets plus optional mariner state (used by rules whose effect depends on viewer settings, e.g. the safety-contour exception to R-101-102-B).

public S98RuleContext(IReadOnlyList<LoadedDatasetInfo> LoadedDatasets, MarinerSettings? Mariner = null)

Parameters

LoadedDatasets IReadOnlyList<LoadedDatasetInfo>

Snapshot of every dataset currently known to the loader. Order is not significant — rules query by product spec / active flag.

Mariner MarinerSettings

Active mariner-settings snapshot, or null if rules should fall back to Default. Rules that honour MSC.232(82) §5.8 (safety contour) read SafetyContour from this snapshot.

Properties

EffectiveMariner

Mariner settings to use during evaluation; never null.

public MarinerSettings EffectiveMariner { get; }

Property Value

MarinerSettings

LoadedDatasets

Snapshot of every dataset currently known to the loader. Order is not significant — rules query by product spec / active flag.

public IReadOnlyList<LoadedDatasetInfo> LoadedDatasets { get; init; }

Property Value

IReadOnlyList<LoadedDatasetInfo>

Mariner

Active mariner-settings snapshot, or null if rules should fall back to Default. Rules that honour MSC.232(82) §5.8 (safety contour) read SafetyContour from this snapshot.

public MarinerSettings? Mariner { get; init; }

Property Value

MarinerSettings