Metalama 1.0 / / Metalama Documentation / Aspect API / Metalama.​Framework.​Metrics / IMetric­Provider<T> / Get­Metric

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.