NDepend.API Documentation
AnnualInterestDiff(IRule) Method
NDepend.Reserved.CQLinq Namespace > ExtensionMethodsCQLinqIssuesSetDiff Class > AnnualInterestDiff Method : AnnualInterestDiff(IRule) Method
The rule object can be the NewerVersion(IRule) or OlderVersion(IRule) of the same rule.
Gets NewerIssuesSet.AnnualInterest(IRule) of NewerVersion(IRule) of rule, minus OlderIssuesSet.AnnualInterest(IRule) of OlderVersion(IRule) of rule.
Syntax
[Extension()]
public static AnnualInterest AnnualInterestDiff( 
   IRule rule
)

Parameters

rule
The rule object can be the NewerVersion(IRule) or OlderVersion(IRule) of the same rule.
Exceptions
ExceptionDescription
This extension method cannot be called from a program consuming NDepend.API. In such context, the method NDepend.Issue.IIssuesSetDiff.AnnualInterestDiff(IRule) must be called instead.
Remarks
If NewerVersion(IRule) or OlderVersion(IRule) of rule is null, NDepend.TechnicalDebt.Debt.NDepend.TechnicalDebt.Debt.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

ExtensionMethodsCQLinqIssuesSetDiff Class
ExtensionMethodsCQLinqIssuesSetDiff Members
Overload List