Class CoverageSampleOutcome<TSource>.TimeOutOfRange
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>CoverageSampleOutcome<TSource>.TimeOutOfRange
- Implements
-
IEquatable<CoverageSampleOutcome<TSource>>
- 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
RequestedTimeDateTimeOffset?The requested instant;
nullfor a windowed query.WindowStartDateTimeOffsetStart of the requested window (the instant for a single-instant query).
WindowEndDateTimeOffsetEnd of the requested window (the instant for a single-instant query).
NearestTSourceThe candidate whose range lies nearest the request.
ValidFromDateTimeOffsetIts first time step.
ValidToDateTimeOffsetIts last time step.
NearestStepDateTimeOffsetIts step closest to the request.
RunDateTimeOffset?Its issue time (model run), when declared.
CandidatesIReadOnlyList<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
RequestedTime
The requested instant; null for a windowed query.
public DateTimeOffset? RequestedTime { get; init; }
Property Value
Run
Its issue time (model run), when declared.
public DateTimeOffset? Run { get; init; }
Property Value
ValidFrom
Its first time step.
public DateTimeOffset ValidFrom { get; init; }
Property Value
ValidTo
Its last time step.
public DateTimeOffset ValidTo { get; init; }
Property Value
WindowEnd
End of the requested window (the instant for a single-instant query).
public DateTimeOffset WindowEnd { get; init; }
Property Value
WindowStart
Start of the requested window (the instant for a single-instant query).
public DateTimeOffset WindowStart { get; init; }