NDepend.API Documentation
Execute(IQueryCompiledSuccess,TimeSpan) Method
NDepend.CodeQuery Namespace > ExtensionMethodsQuery Class > Execute Method : Execute(IQueryCompiledSuccess,TimeSpan) Method
This code query compiled successfully.
The time-out duration activated only for CQLinq queries, CQL queries being executed in a bounded short time.
Execute his code query compiled successfully, with a time-out precised.
Syntax

Parameters

queryCompiledSuccess
This code query compiled successfully.
cqlinqQueryExecTimeOut
The time-out duration activated only for CQLinq queries, CQL queries being executed in a bounded short time.

Return Value

The query execution result.
Remarks
The code base or the NDepend.CodeModel.ICompareContext object against which the query is executed, has been specified at compile time.
With this overload of Execute, just-my-code is the NDepend.CodeModel.ICodeBase.NDepend.CodeModel.ICodeBase.Application specified at compile time.
Requirements

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

See Also

Reference

ExtensionMethodsQuery Class
ExtensionMethodsQuery Members
Overload List