Table of Contents

Class MapsuiMapTimeSnapshot

Namespace
EncDotNet.S100.Renderers.Mapsui
Assembly
EncDotNet.S100.Renderers.Mapsui.dll

Immutable aggregate time state for the datasets registered with a MapsuiDatasetLayerSession.

public sealed class MapsuiMapTimeSnapshot
Inheritance
MapsuiMapTimeSnapshot
Inherited Members

Properties

CoverageSegments

Gets the merged intervals over which at least one registered dataset can portray data.

public IReadOnlyList<MapsuiMapTimeSegment> CoverageSegments { get; init; }

Property Value

IReadOnlyList<MapsuiMapTimeSegment>

Current

Gets the current global clock value, or null.

public DateTime? Current { get; init; }

Property Value

DateTime?

Datasets

Gets the registered datasets that have time samples, with the first and last of them, in registration order — for example to name the forecast runs the timeline spans.

public IReadOnlyList<MapsuiMapTimedDataset> Datasets { get; init; }

Property Value

IReadOnlyList<MapsuiMapTimedDataset>

Empty

Gets an empty time snapshot.

public static MapsuiMapTimeSnapshot Empty { get; }

Property Value

MapsuiMapTimeSnapshot

IsActive

Gets whether at least one time sample is registered.

public bool IsActive { get; }

Property Value

bool

Maximum

Gets the latest registered sample, or null.

public DateTime? Maximum { get; init; }

Property Value

DateTime?

Minimum

Gets the earliest registered sample, or null.

public DateTime? Minimum { get; init; }

Property Value

DateTime?

Samples

Gets all distinct registered samples in ascending order.

public IReadOnlyList<DateTime> Samples { get; init; }

Property Value

IReadOnlyList<DateTime>