Metalama 1.0 / / Metalama Documentation / Aspect API / Metalama.​Framework.​Metrics / Metrics<TMeasurable>

Class Metrics<TMeasurable>

Exposes a Get<TExtension>() method, which computes and returns a metric for an eligible object.

Inheritance
Metrics<TMeasurable>
Namespace: Metalama.Framework.Metrics
Assembly: Metalama.Framework.dll
Syntax
[CompileTime]
public sealed class Metrics<TMeasurable> : ValueType where TMeasurable : IMeasurable
Type Parameters
Name Description
TMeasurable

The type extended with metrics.

Methods

Name Description
Get<TExtension>()

Gets a given metric for the current object.