NDepend.API Documentation
DebtRatioDiff Method (ExtensionMethodsCQLinqIssuesSetDiff)
NDepend.Reserved.CQLinq Namespace > ExtensionMethodsCQLinqIssuesSetDiff Class : DebtRatioDiff Method
The code element object can be the NDepend.CodeModel.ICompareContext.NewerVersion<T> or NDepend.CodeModel.ICompareContext.OlderVersion<T> of the same code element.
Gets NewerIssuesSet.DebtRatio of NDepend.CodeModel.ICompareContext.NewerVersion<T> of codeElement, minus OlderIssuesSet.DebtRatio of NDepend.CodeModel.ICompareContext.OlderVersion<T> of codeElement.
Syntax
[Extension()]
public static Nullable<double> DebtRatioDiff( 
   ICodeElement codeElement
)

Parameters

codeElement
The code element object can be the NDepend.CodeModel.ICompareContext.NewerVersion<T> or NDepend.CodeModel.ICompareContext.OlderVersion<T> of the same code element.
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.DebtRatioDiff must be called instead.
Remarks
If NDepend.CodeModel.ICompareContext.NewerVersion<T> or NDepend.CodeModel.ICompareContext.OlderVersion<T> of codeElement is null, this method returns null.

If NewerIssuesSet.DebtRatio of NDepend.CodeModel.ICompareContext.NewerVersion<T> of codeElement, or OlderIssuesSet.DebtRatio of NDepend.CodeModel.ICompareContext.OlderVersion<T> of codeElement is null, this method returns null.

The returned value can be null or else, positive, zero or negative.
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