NDepend.API Documentation
LoadAnalysisResultFromFile Method
NDepend.Analysis Namespace > ExtensionMethodsProjectAnalysis Class : LoadAnalysisResultFromFile Method
The project.
The analysis result file path.
Loads the analysis result of a project from an analysis result file (.ndar extension).
Syntax
[Extension()]
public static IAnalysisResult LoadAnalysisResultFromFile( 
   IProject project,
   IAbsoluteFilePath analysisResultFilePath
)

Parameters

project
The project.
analysisResultFilePath
The analysis result file path.

Return Value

The analysis result loaded.
Exceptions
ExceptionDescription
If the analysis load fails, an AnalysisException with an informative message is thrown.
This exception is thrown if the analysis result file analysisResultFilePath doesn't exist.
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