Struct DatedValues
Represent a set of trend metrics values sharing a same date, and eventuelly a label.
public readonly struct DatedValues
- Inherited Members
- Extension Methods
Remarks
DatedValues objects can be obtained from the method IHistoryData.DatedValuesDescending.
DatedValues objects are useful to store values extracted from an IHistoryData object, through the method ITrendStore.SaveMetricValues(DateTime, IEnumerable<MetricValue>, string).
Properties (2)
Date
Gets the date of the dated values.
public DateTime Date { get; }
Property Value
MetricsValues
Gets the sequence of metrics' values.
public IEnumerable<MetricValue> MetricsValues { get; }
Property Value
Method (1)
TryGetLabel(out string)
Gets the eventual label persisted for this date.
public bool TryGetLabel(out string label)
Parameters
labelstringThe string representing the label. It is non-null and non-empty if this method returns true.
Returns
- bool
true if a label has been persisted for this date, else returns false.