NDepend.API Documentation
CodeQueriesSet Property
NDepend.Project Namespace > IProjectCodeQueries Interface : CodeQueriesSet Property
Gets or sets the set of code rules and queries for this NDepend project.
Syntax
IGroup CodeQueriesSet {get; set;}
Exceptions
ExceptionDescription
(property setter only) The project file exists but cannot be written.
Remarks
If this NDepend project file exists, the set of code rules and queries data is loaded from and saved to the project file, each time this property getter or setter is invoked.
If this NDepend project file doesn't exist, the set of code rules and queries data is loaded from and saved to, in memory.
(property getter only) If this NDepend project file XML content is corrupted, the set of default queries is returned.
Requirements

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

See Also

Reference

IProjectCodeQueries Interface
IProjectCodeQueries Members