NDepend.API Documentation
AnnualInterestDiff(ICodeElement) Method
NDepend.Issue Namespace > IIssuesSetDiff Interface > AnnualInterestDiff Method : AnnualInterestDiff(ICodeElement) 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.AnnualInterest(ICodeElement) of NDepend.CodeModel.ICompareContext.NewerVersion<T> of codeElement, minus OlderIssuesSet.AnnualInterest(ICodeElement) of NDepend.CodeModel.ICompareContext.OlderVersion<T> of codeElement.
Syntax
AnnualInterest AnnualInterestDiff( 
   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
If NDepend.CodeModel.ICompareContext.NewerVersion<T> or NDepend.CodeModel.ICompareContext.OlderVersion<T> of codeElement is null, NDepend.TechnicalDebt.AnnualInterest.NDepend.TechnicalDebt.AnnualInterest.Zero value is taken instead.
The returned NDepend.TechnicalDebt.AnnualInterest value can be 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

IIssuesSetDiff Interface
IIssuesSetDiff Members
Overload List