NDepend.API Documentation
SaveMetricValues(DateTime,IEnumerable<MetricValue>,String) Method
NDepend.Trend Namespace > ITrendStore Interface > SaveMetricValues Method : SaveMetricValues(DateTime,IEnumerable<MetricValue>,String) Method
The date of the metric values to save.
The metric values to save.
An optional label applied to this particular date.
Typically, the label represents the version of the product.
An empty string means that there is no label to store for
Save one or several dated metrics values, tagged with a label.
Syntax

Parameters

date
The date of the metric values to save.
metricsValues
The metric values to save.
label
An optional label applied to this particular date.
Typically, the label represents the version of the product.
An empty string means that there is no label to store for
Exceptions
ExceptionDescription
metricsValues contains some metrics with the same name.
An error occurred while persisting in the trend store.
Remarks
If for one or several metrics in metricsValues, values defined at date already exist, they are overridden by the new values.
The date equality is defined if the two dates represent the same dated second, no matter the number of miliseconds.
Requirements

Target Platforms: Windows 11, 10, 8, 7 and Linux, MacOS with net8.0, net7.0 or net6.0 installed

See Also

Reference

ITrendStore Interface
ITrendStore Members
Overload List