Exposes a Get<TExtension>() method, which computes and returns a metric for an eligible object.
Namespace: Metalama.Framework.Metrics
Assembly: Metalama.Framework.dll
Syntax
[CompileTime]
public readonly struct Metrics<TMeasurable> 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. |