NDepend.API Documentation
ToSeverity Method
NDepend.TechnicalDebt Namespace > IDebtFormatter Interface : ToSeverity Method
The annual-interest an issue, expressed in man-time per year.
Gets a Severity from annualInterest an issue, expressed in man-time per year.
Syntax

Parameters

annualInterest
The annual-interest an issue, expressed in man-time per year.
Remarks
The Severity value returned, is inferred from severity thresholds defined in this.DebtSettings.
Negative and zero values of annualInterest are valid and lead to Severity.Severity.Low returned.
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