Class CoverageSampleOutcome<TSource>.Sampled
A value.
public sealed record CoverageSampleOutcome<TSource>.Sampled : CoverageSampleOutcome<TSource>, IEquatable<CoverageSampleOutcome<TSource>>, IEquatable<CoverageSampleOutcome<TSource>.Sampled>
- Inheritance
-
CoverageSampleOutcome<TSource>CoverageSampleOutcome<TSource>.Sampled
- Implements
-
IEquatable<CoverageSampleOutcome<TSource>>
- Inherited Members
Constructors
Sampled(TSource, SampledValue)
A value.
public Sampled(TSource Source, SampledValue Value)
Parameters
SourceTSourceThe dataset that produced it.
ValueSampledValueThe value; for a windowed query, the first entry with data (or the site's fallback).
Properties
CoveredFrom
For a windowed query, the start of the window clipped to the dataset's range.
public DateTimeOffset? CoveredFrom { get; init; }
Property Value
CoveredTo
For a windowed query, the end of the window clipped to the dataset's range.
public DateTimeOffset? CoveredTo { get; init; }
Property Value
Series
For a windowed query, one entry per step in the window; otherwise null.
public IReadOnlyList<CoverageTimedSample>? Series { get; init; }
Property Value
Source
The dataset that produced it.
public TSource Source { get; init; }
Property Value
- TSource
TimeStatus
For a single instant on a time-varying product, one of the
SampleTimeStatus values; null when no time was
requested, for a product with no time dimension, and for windowed queries.
public string? TimeStatus { get; init; }
Property Value
Truncated
For a windowed query, whether the window reaches past the dataset's range.
public bool? Truncated { get; init; }
Property Value
- bool?
Value
The value; for a windowed query, the first entry with data (or the site's fallback).
public SampledValue Value { get; init; }