NDepend.API Documentation
DebtRatingChanged Method (ExtensionMethodsCQLinqIssuesSetDiff)
NDepend.Reserved.CQLinq Namespace > ExtensionMethodsCQLinqIssuesSetDiff Class : DebtRatingChanged 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 a value that indicates if codeElement.DebtRating is different for NDepend.CodeModel.ICompareContext.NewerVersion<T> and NDepend.CodeModel.ICompareContext.OlderVersion<T> of codeElement.
Syntax
[Extension()]
public static bool DebtRatingChanged( 
   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.DebtRatingChanged must be called instead.
Remarks
This methods returns false if NDepend.CodeModel.ICompareContext.NewerVersion<T> or NDepend.CodeModel.ICompareContext.OlderVersion<T> of codeElement is null.
If codeElement.DebtRating is null for NDepend.CodeModel.ICompareContext.NewerVersion<T> or NDepend.CodeModel.ICompareContext.OlderVersion<T>, NDepend.TechnicalDebt.DebtRating.NDepend.TechnicalDebt.DebtRating.A is taken instead.
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