Struct MetricValue
Represents a pair of a code metric and a numeric value.
public readonly struct MetricValue
- Inherited Members
- Extension Methods
Remarks
This structure is used when storing a set of new metric values through the method ITrendStore.SaveMetricValues(DateTime, IEnumerable<MetricValue>, string).
Constructor (1)
MetricValue(Metric, float)
Create a apair of a code metric and a numeric value.
public MetricValue(Metric metric, float value)
Parameters
Properties (4)
Metric
Gets the code metric.
public Metric Metric { get; }
Property Value
MetricName
Gets the name of the code metric.
public string MetricName { get; }
Property Value
MetricUnit
Gets the unit used to quantify metric values.
public string MetricUnit { get; }
Property Value
Value
Gets the metric numerical value.
public float Value { get; }