Metalama//API Documentation/Aspect API/Metalama.​Framework.​Metrics/Metrics<TMeasurable>/Get
Open sandboxFocus

Method Get

Get<TExtension>()

Gets a given metric for the current object.

Declaration
public TExtension Get<TExtension>()
where TExtension : IMetric<TMeasurable>
Returns
Type Description
TExtension
Type Parameters
Name Description
TExtension

The type of metric to be returned.