Class KeyedMeter<T>

Namespace
Cratis.Metrics
Assembly
Cratis.Fundamentals.dll

Represents a keyed typed Meter.

public class KeyedMeter<T> : IMeter<T>

Type Parameters

T

Type the meter is for.

Inheritance
KeyedMeter<T>
Implements
Inherited Members
Extension Methods

Constructors

KeyedMeter(IServiceProvider, string?)

Represents a keyed typed Meter.

public KeyedMeter(IServiceProvider serviceProvider, string? key = null)

Parameters

serviceProvider IServiceProvider

The IServiceProvider used for resolving keyed services.

key string

The key used when resolving the service.

Properties

ActualMeter

Gets the actual Meter instance.

public Meter ActualMeter { get; }

Property Value

Meter