Table of Contents

Struct Metric

Namespace
NDepend.Trend
Assembly
NDepend.API.dll

Represent a code metric for which trend dated values are stored.

public readonly struct Metric
Inherited Members
Extension Methods

Constructor (1)

Metric(string, string)

Create a code metric object.

public Metric(string name, string unit)

Parameters

name string

The name of the code metric.

unit string

The unit used to quantify metric values.

Properties (2)

Name

Gets the name of the code metric.

public string Name { get; }

Property Value

string

Unit

Gets the unit used to quantify metric values.

public string Unit { get; }

Property Value

string