NDepend.API Documentation
CompareContextOnWhichQueryHasBeenExecuted Property
NDepend.CodeQuery Namespace > IQueryExecutionSuccessResult Interface : CompareContextOnWhichQueryHasBeenExecuted Property
Gets the NDepend.CodeModel.ICompareContext object on which the code query has been executed, or null if the query hasen't been executed agains a compare context but only agains a code base.
Syntax
ICompareContext CompareContextOnWhichQueryHasBeenExecuted {get;}
Remarks
Returns the same object than IQueryCompiledSuccess.CompareContextOnWhichToExecute, or null if this property returns null.
Requirements

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

See Also

Reference

IQueryExecutionSuccessResult Interface
IQueryExecutionSuccessResult Members