NDepend.API Documentation
ValueDiff Method (ExtensionMethodsCQLinqIssuesSetDiff)
NDepend.Reserved.CQLinq Namespace > ExtensionMethodsCQLinqIssuesSetDiff Class : ValueDiff Method
The quality gate object can be the NewerVersion(IQualityGate) or OlderVersion(IQualityGate) of the same quality gate.
Gets the NDepend.Issue.IQualityGate.Value of NewerVersion(IQualityGate) of qualityGate, minus the NDepend.Issue.IQualityGate.Value of OlderVersion(IQualityGate) of qualityGate.
Syntax
[Extension()]
public static Nullable<double> ValueDiff( 
   IQualityGate qualityGate
)

Parameters

qualityGate
The quality gate object can be the NewerVersion(IQualityGate) or OlderVersion(IQualityGate) of the same quality gate.
Exceptions
ExceptionDescription
This extension method cannot be called from a program consuming NDepend.API. In such context, the method NDepend.Issue.IIssuesSetDiff.NDepend.Issue.IIssuesSetDiff.ValueDiff must be called instead.
Remarks
If the older or newer value is null returns null.
Requirements

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

See Also

Reference

ExtensionMethodsCQLinqIssuesSetDiff Class
ExtensionMethodsCQLinqIssuesSetDiff Members