NDepend.API Documentation
GetAvailableAnalysisResultsRefs Method
NDepend.Analysis Namespace > ExtensionMethodsProjectAnalysis Class : GetAvailableAnalysisResultsRefs Method
This NDepend project.
Gets a collection of all analysis results available for this project ordered by IAnalysisResultRef. descending.
Syntax
[Extension()]
public static IReadOnlyList<IAnalysisResultRef> GetAvailableAnalysisResultsRefs( 
   IProject project
)

Parameters

project
This NDepend project.
Remarks
If project.NDepend.Project.IProject.HistoricAnalysisResult doesn't save historic analysis results, then the returned list will contain the most recent analysis result available for this project, or nothing if no analysis result is available for this project.
On a NDepend project with many analysis results available for years, it is performant wise to prefer calling GetAvailableAnalysisResultsRefsGroupedPerMonth instead of this method, because analysis results references are then lazy-resolved, per month.
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
Date Property