NDepend.API Documentation
LogTrendMetrics(IProject,IReadOnlyList<MetricValue>,String,DateTime) Method
NDepend.Analysis Namespace > ExtensionMethodsProjectAnalysis Class > LogTrendMetrics Method : LogTrendMetrics(IProject,IReadOnlyList<MetricValue>,String,DateTime) Method
This project for which trend metrics values are computed.
Trend metric values already computed.
The log label string. If null or empty no label will be stored. Typically this label is computed through TryComputeLogLabel
The time at which trend metrics values are persisted, typically System.DateTime.System.DateTime.Now or IAnalysisResult.IAnalysisResult.AnalysisResultRef.IAnalysisResultRef.Date.
Force log trend metrics trendMetricsValues already computed, for this project.
Syntax

Parameters

project
This project for which trend metrics values are computed.
trendMetricsValues
Trend metric values already computed.
label
The log label string. If null or empty no label will be stored. Typically this label is computed through TryComputeLogLabel
logDateTime
The time at which trend metrics values are persisted, typically System.DateTime.System.DateTime.Now or IAnalysisResult.IAnalysisResult.AnalysisResultRef.IAnalysisResultRef.Date.
Exceptions
ExceptionDescription
An error occurred while persisting in the trend store.
Remarks
Typically this overload of LogTrendMetrics is used with trendMetricsValues computed from ComputeIssuesAndTrendMetrics or ComputeIssuesDiffAndTrendMetrics.
Requirements

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

See Also

Reference

ExtensionMethodsProjectAnalysis Class
ExtensionMethodsProjectAnalysis Members
Overload List