NDepend.API Documentation
ToMoneyStringDetailled Method
NDepend.TechnicalDebt Namespace > IDebtFormatter Interface : ToMoneyStringDetailled Method
The duration to evaluate as money
Gets a string that represents an amount of money estimated from a duration.
Syntax
string ToMoneyStringDetailled( 
   TimeSpan duration
)

Parameters

duration
The duration to evaluate as money
Remarks
This IDebtFormatter object has been created from a DebtSettings object.
The amount of money is expressed in this.DebtSettings.DebtSettings.Currency and is computed from the setting this.DebtSettings.DebtSettings.MoneyPerManHour.
There is a typo in the method name on 'Detailed' but we prefer to not set this method as obsolete just for a typo.
If duration.System.DateTime.Ticks is higher than Debt.NDepend.TechnicalDebt.Debt.MAX_TICKS or lower than Debt.NDepend.TechnicalDebt.Debt.MIN_TICKS this method returns the string "overflow".
Requirements

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

See Also

Reference

IDebtFormatter Interface
IDebtFormatter Members