Table of Contents

Class CoverageSampleOutcome<TSource>.TimeOutOfRange

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

The requested time lies outside the time range of every candidate.

public sealed record CoverageSampleOutcome<TSource>.TimeOutOfRange : CoverageSampleOutcome<TSource>, IEquatable<CoverageSampleOutcome<TSource>>, IEquatable<CoverageSampleOutcome<TSource>.TimeOutOfRange>
Inheritance
CoverageSampleOutcome<TSource>.TimeOutOfRange
Implements
Inherited Members

Constructors

TimeOutOfRange(DateTimeOffset?, DateTimeOffset, DateTimeOffset, TSource, DateTimeOffset, DateTimeOffset, DateTimeOffset, DateTimeOffset?, IReadOnlyList<CoverageTimeRange<TSource>>)

The requested time lies outside the time range of every candidate.

public TimeOutOfRange(DateTimeOffset? RequestedTime, DateTimeOffset WindowStart, DateTimeOffset WindowEnd, TSource Nearest, DateTimeOffset ValidFrom, DateTimeOffset ValidTo, DateTimeOffset NearestStep, DateTimeOffset? Run, IReadOnlyList<CoverageTimeRange<TSource>> Candidates)

Parameters

RequestedTime DateTimeOffset?

The requested instant; null for a windowed query.

WindowStart DateTimeOffset

Start of the requested window (the instant for a single-instant query).

WindowEnd DateTimeOffset

End of the requested window (the instant for a single-instant query).

Nearest TSource

The candidate whose range lies nearest the request.

ValidFrom DateTimeOffset

Its first time step.

ValidTo DateTimeOffset

Its last time step.

NearestStep DateTimeOffset

Its step closest to the request.

Run DateTimeOffset?

Its issue time (model run), when declared.

Candidates IReadOnlyList<CoverageTimeRange<TSource>>

Every candidate with its time range.

Properties

Candidates

Every candidate with its time range.

public IReadOnlyList<CoverageTimeRange<TSource>> Candidates { get; init; }

Property Value

IReadOnlyList<CoverageTimeRange<TSource>>

Nearest

The candidate whose range lies nearest the request.

public TSource Nearest { get; init; }

Property Value

TSource

NearestStep

Its step closest to the request.

public DateTimeOffset NearestStep { get; init; }

Property Value

DateTimeOffset

RequestedTime

The requested instant; null for a windowed query.

public DateTimeOffset? RequestedTime { get; init; }

Property Value

DateTimeOffset?

Run

Its issue time (model run), when declared.

public DateTimeOffset? Run { get; init; }

Property Value

DateTimeOffset?

ValidFrom

Its first time step.

public DateTimeOffset ValidFrom { get; init; }

Property Value

DateTimeOffset

ValidTo

Its last time step.

public DateTimeOffset ValidTo { get; init; }

Property Value

DateTimeOffset

WindowEnd

End of the requested window (the instant for a single-instant query).

public DateTimeOffset WindowEnd { get; init; }

Property Value

DateTimeOffset

WindowStart

Start of the requested window (the instant for a single-instant query).

public DateTimeOffset WindowStart { get; init; }

Property Value

DateTimeOffset