NDepend.API Documentation
CompileMany(IEnumerable<String>,ICodeBase) Method
NDepend.CodeQuery Namespace > ExtensionMethodsQuery Class > CompileMany Method : CompileMany(IEnumerable<String>,ICodeBase) Method
This collection of code queries string.
The code base against which to compile each query.
Compile against a code base, several code queries contained in this collection of string.
Syntax

Parameters

queryStrings
This collection of code queries string.
codeBase
The code base against which to compile each query.

Return Value

A read-only list of code queries compiled, with a count equals to queryStrings.Count.
Remarks
The codeBase is needed because a code query might reference some code elements by name.
To compile N CQLinq queries strings, calling once CompileMany() is much faster than calling N times Compile().
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