NDepend.API Documentation
ToManYear(Debt) Method
NDepend.Reserved.CQLinq Namespace > ExtensionMethodsCQLinqDebtFormatter Class > ToManYear Method : ToManYear(Debt) Method
The estimated effort to fix one or several issues
Gets a double number of man-years that represents debt. The number of man-years is computed from this.NDepend.TechnicalDebt.DebtSettings.NDepend.TechnicalDebt.DebtSettings.NumberOfWorkHourPerDay and this.NDepend.TechnicalDebt.DebtSettings.NDepend.TechnicalDebt.DebtSettings.NumberOfWorkDayPerYear.
Syntax
[Extension()]
public static double ToManYear( 
   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.ToManYear must be called instead.
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