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