NDepend.API Documentation
ShowDialogBuildComparison Method
NDepend.Analysis Namespace > IAnalysisManager Interface : ShowDialogBuildComparison Method
The window handle of the parent window that shows the dialog.
Project older choosen, is null if analysisResultRefOlder is not null.
Analysis Result older choosen, is null if projectOlder is not null.
Project newer choosen, is null if analysisResultRefNewer is not null.
Analysis Result newer choosen, is null if projectNewer is not null.
Shows a dialog that lets the user select an older and newer, project or analysis result reference.
Syntax

Parameters

ownerWindowHandle
The window handle of the parent window that shows the dialog.
projectOlder
Project older choosen, is null if analysisResultRefOlder is not null.
analysisResultRefOlder
Analysis Result older choosen, is null if projectOlder is not null.
projectNewer
Project newer choosen, is null if analysisResultRefNewer is not null.
analysisResultRefNewer
Analysis Result newer choosen, is null if projectNewer is not null.

Return Value

True if the user clicked OK, False if the user clicked Cancel
Exceptions
ExceptionDescription
This operation needs the current thread to be a STA thread. To do so, just tag your Main() method with the [STAThread] attribute.
Remarks
This method can only be invoked within a .NET Framework 4.x and Windows OS context else it throws a NotSupportedException.
Requirements

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

See Also

Reference

IAnalysisManager Interface
IAnalysisManager Members
ShowDialogSelectAssemblies(IntPtr,ICollection<IAbsoluteFilePath>) Method
ShowDialogSelectAssemblies(IntPtr,ICollection<IAbsoluteFilePath>,ICollection<IAbsoluteFilePath>) Method
ShowDialogChooseAnExistingProject Method
ShowDialogSelectVisualStudioSolutionsOrProjects Method