NDepend.API Documentation
ToDebt(Nullable<TimeSpan>) Method
NDepend.TechnicalDebt Namespace > ExtensionMethodsDebtUsableInCQLinq Class > ToDebt Method : ToDebt(Nullable<TimeSpan>) Method
The input nullable System.TimeSpan value.
Returns a Debt value from a nullable System.TimeSpan value.
Syntax
[Extension()]
public static Debt ToDebt( 
   Nullable<TimeSpan> nullableTimeSpan
)

Parameters

nullableTimeSpan
The input nullable System.TimeSpan value.
Remarks
if nullableTimeSpan is null, Debt.Zero is returned.
Requirements

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

See Also

Reference

ExtensionMethodsDebtUsableInCQLinq Class
ExtensionMethodsDebtUsableInCQLinq Members
Overload List