NDepend.API Documentation
RemoveRule Method (IIssuesSetBuilder)
NDepend.Issue Namespace > IIssuesSetBuilder Interface : RemoveRule Method
The rule to remove.
Remove the rule and its issues from IssuesSet.
Syntax
void RemoveRule( 
   IRule rule
)

Parameters

rule
The rule to remove.
Exceptions
ExceptionDescription
Thrown if IssuesSet doesn't contain the rule.
Remarks
When a rule is added or removed this.IssuesSet.IIssuesSet.AllQualityGates are not recomputed and those that relies on issues and debt might have a dirty state.
Requirements

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

See Also

Reference

IIssuesSetBuilder Interface
IIssuesSetBuilder Members