Open sandboxFocus

Method GetMetric

GetMetric(IMeasurable)

Computes and returns the metric for a given object.

Declaration
T GetMetric(IMeasurable measurable)
Parameters
Type Name Description
IMeasurable measurable

An object on which the metric is defined.

Returns
Type Description
T

The metric value for measurable.