NDepend.API Documentation
DebtRatingWorsened Method (IIssuesSetDiff)
NDepend.Issue Namespace > IIssuesSetDiff Interface : DebtRatingWorsened 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 better for NDepend.CodeModel.ICompareContext.OlderVersion<T> than for NDepend.CodeModel.ICompareContext.NewerVersion<T> of codeElement.
Syntax
bool DebtRatingWorsened( 
   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
codeElement is not present in NewerIssuesSet nor OlderIssuesSet.
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

IIssuesSetDiff Interface
IIssuesSetDiff Members