NDepend.API Documentation
CreateQuery Method
NDepend.CodeQuery Namespace > IController Interface : CreateQuery Method
The new query activation.
The query string.
A boolean value that indicates whether the code rule is violated, the code rule matched code elements are listed into the report.
A boolean value that indicates whether the code rule is violated, the code rule matched code elements statistics are shown into the report.
A boolean value that indicates whether the code rule is violated, the code rule matched code elements are shown in a treemap picture embedded into the report.
A boolean value that indicates whether the code rule is critical or not.
Create a new query object.
Syntax

Parameters

isActive
The new query activation.
queryString
The query string.
displayStatInReport
A boolean value that indicates whether the code rule is violated, the code rule matched code elements are listed into the report.
displayListInReport
A boolean value that indicates whether the code rule is violated, the code rule matched code elements statistics are shown into the report.
displaySelectionViewInReport
A boolean value that indicates whether the code rule is violated, the code rule matched code elements are shown in a treemap picture embedded into the report.
isCriticalRule
A boolean value that indicates whether the code rule is critical or not.
Requirements

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

See Also

Reference

IController Interface
IController Members