1 implementation of IInstrumentUnitResolver
Aspire.Dashboard.Components.Tests (1)
Shared\TestInstrumentUnitResolver.cs (1)
9
public sealed class TestInstrumentUnitResolver :
IInstrumentUnitResolver
4 references to IInstrumentUnitResolver
Aspire.Dashboard (2)
DashboardWebApplication.cs (1)
256
builder.Services.AddSingleton<
IInstrumentUnitResolver
, DefaultInstrumentUnitResolver>();
Model\DefaultInstrumentUnitResolver.cs (1)
12
public sealed class DefaultInstrumentUnitResolver(IStringLocalizer<ControlsStrings> loc) :
IInstrumentUnitResolver
Aspire.Dashboard.Components.Tests (2)
Shared\MetricsSetupHelpers.cs (1)
38
context.Services.AddSingleton<
IInstrumentUnitResolver
, TestInstrumentUnitResolver>();
Shared\StructuredLogsSetupHelpers.cs (1)
17
context.Services.AddSingleton<
IInstrumentUnitResolver
, TestInstrumentUnitResolver>();