NDepend.API Documentation
LoadCodeBaseFromAnalysisResultFile Method
NDepend.Analysis Namespace > ExtensionMethodsProjectAnalysis Class : LoadCodeBaseFromAnalysisResultFile Method
The analysis result file path (.ndar extension).
Loads a code base snapshot from an analysis result file (.ndar extension).
Syntax
[Extension()]
public static ICodeBase LoadCodeBaseFromAnalysisResultFile( 
   IAbsoluteFilePath analysisResultFilePath
)

Parameters

analysisResultFilePath
The analysis result file path (.ndar extension).

Return Value

The code base snapshot.
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