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
7 references to ILocalStorage
Aspire.Dashboard (1)
DashboardWebApplication.cs (1)
256
builder.Services.AddScoped<
ILocalStorage
, LocalBrowserStorage>();
Aspire.Dashboard.Components.Tests (6)
Layout\MainLayoutTests.cs (1)
132
Services.AddSingleton<
ILocalStorage
>(localStorage ?? new TestLocalStorage());
Pages\ConsoleLogsTests.cs (1)
170
Services.AddSingleton<
ILocalStorage
, TestLocalStorage>();
Pages\StructuredLogsTests.cs (1)
184
Services.AddSingleton<
ILocalStorage
, TestLocalStorage>();
Pages\TraceDetailsTests.cs (1)
175
Services.AddSingleton<
ILocalStorage
, TestLocalStorage>();
Shared\MetricsSetupHelpers.cs (1)
82
context.Services.AddSingleton<
ILocalStorage
, TestLocalStorage>();
Shared\ResourceSetupHelpers.cs (1)
90
context.Services.AddSingleton<
ILocalStorage
, TestLocalStorage>();