6 instantiations of TestLocalStorage
Aspire.Dashboard.Components.Tests (6)
Controls\TextVisualizerDialogTests.cs (3)
157var localStorage = new TestLocalStorage { OnSetUnprotectedAsync = (_, o) => 186var localStorage = new TestLocalStorage(); 202Services.AddSingleton<ILocalStorage>(localStorage ?? new TestLocalStorage());
Layout\MainLayoutTests.cs (3)
29var testLocalStorage = new TestLocalStorage(); 88var testLocalStorage = new TestLocalStorage(); 135Services.AddSingleton<ILocalStorage>(localStorage ?? new TestLocalStorage());
11 references to TestLocalStorage
Aspire.Dashboard.Components.Tests (11)
Controls\TextVisualizerDialogTests.cs (3)
157var localStorage = new TestLocalStorage { OnSetUnprotectedAsync = (_, o) => 186var localStorage = new TestLocalStorage(); 197private IRenderedFragment SetUpDialog(out IDialogService dialogService, ThemeManager? themeManager = null, TestLocalStorage? localStorage = null)
Layout\MainLayoutTests.cs (3)
29var testLocalStorage = new TestLocalStorage(); 88var testLocalStorage = new TestLocalStorage(); 128private void SetupMainLayoutServices(TestLocalStorage? localStorage = null, MessageService? messageService = null)
Pages\ConsoleLogsTests.cs (1)
565Services.AddSingleton<ILocalStorage, TestLocalStorage>();
Pages\StructuredLogsTests.cs (1)
191Services.AddSingleton<ILocalStorage, TestLocalStorage>();
Pages\TraceDetailsTests.cs (1)
356Services.AddSingleton<ILocalStorage, TestLocalStorage>();
Shared\MetricsSetupHelpers.cs (1)
93context.Services.AddSingleton<ILocalStorage, TestLocalStorage>();
Shared\ResourceSetupHelpers.cs (1)
110context.Services.AddSingleton<ILocalStorage, TestLocalStorage>();