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 : IMeasurableType Parameters
| Name | Description |
|---|---|
| TMeasurable | The type extended with metrics. |
Methods
| Name | Description |
|---|---|
| Get<TExtension>() | Gets a given metric for the current object. |