NDepend.API Documentation
AnnualInterestThreshold Method (ExtensionMethodsCQLinqDebtFormatter)
NDepend.Reserved.CQLinq Namespace > ExtensionMethodsCQLinqDebtFormatter Class : AnnualInterestThreshold Method
The severity level to get the threshold from.
Get the NDepend.TechnicalDebt.AnnualInterest threshold corresponding to the severity
Syntax
[Extension()]
public static AnnualInterest AnnualInterestThreshold( 
   Severity severity
)

Parameters

severity
The severity level to get the threshold from.
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.AnnualInterestThreshold must be called instead.
Remarks
NDepend.TechnicalDebt.AnnualInterest.NDepend.TechnicalDebt.AnnualInterest.Zero is returned for NDepend.TechnicalDebt.Severity.NDepend.TechnicalDebt.Severity.Low.
The NDepend.TechnicalDebt.DebtSettings.NDepend.TechnicalDebt.DebtSettings.Low2MediumSeverityThreshold is returned for NDepend.TechnicalDebt.Severity.NDepend.TechnicalDebt.Severity.Medium.
The NDepend.TechnicalDebt.DebtSettings.NDepend.TechnicalDebt.DebtSettings.Medium2HighSeverityThreshold is returned for NDepend.TechnicalDebt.Severity.NDepend.TechnicalDebt.Severity.High.
The NDepend.TechnicalDebt.DebtSettings.NDepend.TechnicalDebt.DebtSettings.High2CriticalSeverityThreshold is returned for NDepend.TechnicalDebt.Severity.NDepend.TechnicalDebt.Severity.Critical.
The NDepend.TechnicalDebt.DebtSettings.NDepend.TechnicalDebt.DebtSettings.Critical2Blocker_SeverityThreshold is returned for NDepend.TechnicalDebt.Severity.NDepend.TechnicalDebt.Severity.Blocker.
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