2 implementations of ILocalStorage
Aspire.Dashboard (1)
Model\BrowserStorage\LocalBrowserStorage.cs (1)
10
public class LocalBrowserStorage : BrowserStorageBase,
ILocalStorage
Aspire.Dashboard.Components.Tests (1)
Shared\TestLocalStorage.cs (1)
8
public sealed class TestLocalStorage :
ILocalStorage
6 references to ILocalStorage
Aspire.Dashboard (1)
DashboardWebApplication.cs (1)
260
builder.Services.AddScoped<
ILocalStorage
, LocalBrowserStorage>();
Aspire.Dashboard.Components.Tests (5)
Layout\MainLayoutTests.cs (1)
132
Services.AddSingleton<
ILocalStorage
>(localStorage ?? new TestLocalStorage());
Pages\ConsoleLogsTests.cs (1)
169
Services.AddSingleton<
ILocalStorage
, TestLocalStorage>();
Pages\StructuredLogsTests.cs (1)
184
Services.AddSingleton<
ILocalStorage
, TestLocalStorage>();
Pages\TraceDetailsTests.cs (1)
117
Services.AddSingleton<
ILocalStorage
, TestLocalStorage>();
Shared\MetricsSetupHelpers.cs (1)
82
context.Services.AddSingleton<
ILocalStorage
, TestLocalStorage>();