Table of Contents

Interface IAnalysisManager

Namespace
NDepend.Analysis
Assembly
NDepend.API.dll

Exposes the unique ShowDialogBuildComparison method. A IAnalysisManager object can be obtained from the property NDependServicesProvider.AnalysisManager.

public interface IAnalysisManager
Extension Methods

Method (1)

ShowDialogBuildComparison(IntPtr, out IProject, out IAnalysisResultRef, out IProject, out IAnalysisResultRef)

Shows a dialog that lets the user select an older and newer, project or analysis result reference.

bool ShowDialogBuildComparison(IntPtr ownerWindowHandle, out IProject projectOlder, out IAnalysisResultRef analysisResultRefOlder, out IProject projectNewer, out IAnalysisResultRef analysisResultRefNewer)

Parameters

ownerWindowHandle IntPtr

The window handle of the parent window that shows the dialog.

projectOlder IProject

Project older choosen, is null if analysisResultRefOlder is not null.

analysisResultRefOlder IAnalysisResultRef

Analysis Result older choosen, is null if projectOlder is not null.

projectNewer IProject

Project newer choosen, is null if analysisResultRefNewer is not null.

analysisResultRefNewer IAnalysisResultRef

Analysis Result newer choosen, is null if projectNewer is not null.

Returns

bool

True if the user clicked OK, False if the user clicked Cancel

Remarks

This method can only be invoked within a .NET Framework 4.x and Windows OS context else it throws a NotSupportedException.

Exceptions

ThreadStateException

This operation needs the current thread to be a STA thread. To do so, just tag your Main() method with the [STAThread] attribute.

See Also