NDepend.API Documentation
Metric Constructor
NDepend.Trend Namespace > Metric Structure : Metric Constructor
The name of the code metric.
The unit used to quantify metric values.
Create a code metric object.
Syntax
public Metric( 
   string name,
   string unit
)

Parameters

name
The name of the code metric.
unit
The unit used to quantify metric values.
Requirements

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

See Also

Reference

Metric Structure
Metric Members