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

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.