NDepend.API Documentation
TryGetMostRecentAnalysisResultRef Method
NDepend.Analysis Namespace > ExtensionMethodsProjectAnalysis Class : TryGetMostRecentAnalysisResultRef Method
This NDepend project.
The reference to the most recent analysis result or null if the method call returned false.
Gets a reference to the most recent analysis result available for this project.
Syntax
[Extension()]
public static bool TryGetMostRecentAnalysisResultRef( 
   IProject project,
   out IAnalysisResultRef mostRecentAnalysisResultRef
)

Parameters

project
This NDepend project.
mostRecentAnalysisResultRef
The reference to the most recent analysis result or null if the method call returned false.

Return Value

A value indicating if a most recent analysis result referece has been found for this project.
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