Open sandboxFocus

Interface IMetric<T>

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
Syntax
public interface IMetric<in T> : IMetric where T : IMeasurable
Type Parameters
Name Description
T

The type of objects for which the metric applies.

Remarks

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).

Extension Methods