NDepend.API Documentation
SetSeverityThresholds Method
NDepend.TechnicalDebt Namespace > DebtSettings Class : SetSeverityThresholds Method
The value of Low2MediumSeverityThreshold.
The value of NumberOfWorkHourPerDay to obtain Medium2HighSeverityThreshold.
The value of NumberOfWorkHourPerDay to obtain High2CriticalSeverityThreshold.
The value of NumberOfWorkHourPerDay to obtain Critical2Blocker_SeverityThreshold.
Set the various thresholds used to infer the Severity of the AnnualInterest an issue expressed in man-time per year.
Syntax

Parameters

low2Medium
The value of Low2MediumSeverityThreshold.
medium2High
The value of NumberOfWorkHourPerDay to obtain Medium2HighSeverityThreshold.
high2Critical
The value of NumberOfWorkHourPerDay to obtain High2CriticalSeverityThreshold.
critical2Blocker
The value of NumberOfWorkHourPerDay to obtain Critical2Blocker_SeverityThreshold.
Remarks
The IDebtFormatter.IDebtFormatter.ToSeverity method is used to get the Severity of the AnnualInterest an issue.
Requirements

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

See Also

Reference

DebtSettings Class
DebtSettings Members