Interface IProjectCodeQueries
Represents this NDepend project code queries and code rules.
public interface IProjectCodeQueries
- Extension Methods
Properties (3)
AreActive
Gets or sets the active status of code queries and rules defined in this NDepend project.
bool AreActive { get; set; }
Property Value
CodeQueriesSet
Gets or sets the set of code rules and queries for this NDepend project.
IGroup CodeQueriesSet { get; set; }
Property Value
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.
Exceptions
- IOException
(property setter only) The project file exists but cannot be written.
QueryPersistenceKind
Gets or sets how queries are persisted in this project file.
QueryPersistenceKind QueryPersistenceKind { get; set; }
Property Value
Method (1)
SetDefaultCodeQueries()
Set the set of default code rules and queries for this NDepend project.
void SetDefaultCodeQueries()