NDepend.API Documentation
ToMoney(AnnualInterest) Method
NDepend.Reserved.CQLinq Namespace > ExtensionMethodsCQLinqDebtFormatter Class > ToMoney Method : ToMoney(AnnualInterest) Method
The estimated cost-per-year to leave one or several issues unfixed
Estimate an amount of money from an annualInterest.
Syntax
[Extension()]
public static double ToMoney( 
   AnnualInterest annualInterest
)

Parameters

annualInterest
The estimated cost-per-year to leave one or several issues unfixed
Exceptions
ExceptionDescription
This extension method cannot be called from a program consuming NDepend.API. In such context, the method NDepend.TechnicalDebt.IDebtFormatter.NDepend.TechnicalDebt.IDebtFormatter.ToMoney must be called instead.
Remarks
The amount of money is expressed in the project's NDepend.TechnicalDebt.DebtSettings.NDepend.TechnicalDebt.DebtSettings.Currency and is computed from the project's NDepend.TechnicalDebt.DebtSettings.NDepend.TechnicalDebt.DebtSettings.MoneyPerManHour.
Requirements

Target Platforms: Windows 11, 10, 8, 7 and Linux, MacOS with net8.0, net7.0 or net6.0 installed

See Also

Reference

ExtensionMethodsCQLinqDebtFormatter Class
ExtensionMethodsCQLinqDebtFormatter Members
Overload List