MetalamaAPI documentationAspect APIMetalama.​Framework.​MetricsIMetric<T>
Open sandboxFocus

IMetric<T> Interface

Base interface for all metrics. This interface exists only for strong typing. It does not have any members.

Namespace: Metalama.Framework.Metrics
Assembly: Metalama.Framework.dll
public interface IMetric<in T> : IMetric where T : IMeasurable
Type Parameters
Name Description

The type of objects for which the metric applies.


When you implement you own metric, you also need to implement the IMetricProvider<T> interface, and you need to add the service to the service provider (TODO).