Interface IAnalysisManager
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
ownerWindowHandleIntPtrThe window handle of the parent window that shows the dialog.
projectOlderIProjectProject older choosen, is null if
analysisResultRefOlderis not null.analysisResultRefOlderIAnalysisResultRefAnalysis Result older choosen, is null if
projectOlderis not null.projectNewerIProjectProject newer choosen, is null if
analysisResultRefNeweris not null.analysisResultRefNewerIAnalysisResultRefAnalysis Result newer choosen, is null if
projectNeweris 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