NDepend.API Documentation
AnnualInterestThreshold Method (IDebtFormatter)
NDepend.TechnicalDebt Namespace > IDebtFormatter Interface : AnnualInterestThreshold Method
The severity level to get the threshold from.
Get the AnnualInterest threshold corresponding to the severity
Syntax
AnnualInterest AnnualInterestThreshold( 
   Severity severity
)

Parameters

severity
The severity level to get the threshold from.
Remarks
AnnualInterest.AnnualInterest.Zero is returned for Severity.Severity.Low.
The this.DebtSettings.DebtSettings.Low2MediumSeverityThreshold is returned for Severity.Severity.Medium.
The this.DebtSettings.DebtSettings.Medium2HighSeverityThreshold is returned for Severity.Severity.High.
The this.DebtSettings.DebtSettings.High2CriticalSeverityThreshold is returned for Severity.Severity.Critical.
The this.DebtSettings.DebtSettings.Critical2Blocker_SeverityThreshold is returned for Severity.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

IDebtFormatter Interface
IDebtFormatter Members