Class MapsuiMapTimeSnapshot
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
Current
Gets the current global clock value, or null.
public DateTime? Current { get; init; }
Property Value
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
Empty
Gets an empty time snapshot.
public static MapsuiMapTimeSnapshot Empty { get; }
Property Value
IsActive
Gets whether at least one time sample is registered.
public bool IsActive { get; }
Property Value
Maximum
Gets the latest registered sample, or null.
public DateTime? Maximum { get; init; }
Property Value
Minimum
Gets the earliest registered sample, or null.
public DateTime? Minimum { get; init; }
Property Value
Samples
Gets all distinct registered samples in ascending order.
public IReadOnlyList<DateTime> Samples { get; init; }