NDepend.API Documentation
AddQualityGate Method (IIssuesSetDiffBuilder)
NDepend.Issue Namespace > IIssuesSetDiffBuilder Interface : AddQualityGate Method
The quality gate to add to IssuesSetDiff.NewerIssuesSet.
The quality gate to add to IssuesSetDiff.OlderIssuesSet.
Add a IQualityGate to both IssuesSetDiff.NewerIssuesSet and IssuesSetDiff.OlderIssuesSet.
Syntax

Parameters

newerQualityGate
The quality gate to add to IssuesSetDiff.NewerIssuesSet.
olderQualityGate
The quality gate to add to IssuesSetDiff.OlderIssuesSet.
Exceptions
ExceptionDescription
Thrown if IssuesSetDiff.NewerIssuesSet already contains newerQualityGate,
or if IssuesSetDiff.OlderIssuesSet already contains olderQualityGate
Requirements

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

See Also

Reference

IIssuesSetDiffBuilder Interface
IIssuesSetDiffBuilder Members