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

Interface IMetricProvider<T>

Implements the computation or reading of a metric.

Namespace: Metalama.Framework.Metrics
Assembly: Metalama.Framework.dll
Syntax
public interface IMetricProvider<out T> : IProjectService, IService where T : IMetric
Type Parameters
Name Description
T

Type of the metric handled by the current provider.

Methods

Name Description
GetMetric(IMeasurable)

Computes and returns the metric for a given object.