NDepend.API Documentation
ToMoney(Debt) Method
NDepend.Reserved.CQLinq Namespace > ExtensionMethodsCQLinqDebtFormatter Class > ToMoney Method : ToMoney(Debt) Method
The estimated effort to fix one or several issues
Estimate an amount of money from a debt.
Syntax
[Extension()]
public static double ToMoney( 
   Debt debt
)

Parameters

debt
The estimated effort to fix one or several issues
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