8 references to EnsureInitializedAsync
Aspire.Dashboard (6)
Components\Controls\Chart\ChartContainer.razor.cs (1)
83await ThemeManager.EnsureInitializedAsync();
Components\Controls\TextVisualizer.razor.cs (1)
50await ThemeManager.EnsureInitializedAsync();
Components\Layout\MainLayout.razor.cs (2)
277await ThemeManager.EnsureInitializedAsync(); 460await ThemeManager.EnsureInitializedAsync();
Model\ThemeManager.cs (2)
64/// To ensure the theme is loaded from the browser, <see cref="EnsureInitializedAsync"/> must be called before accessing. 78/// To ensure the theme is loaded from the browser, <see cref="EnsureInitializedAsync"/> must be called before accessing.
Aspire.Dashboard.Components.Tests (2)
Dialogs\SettingsDialogTests.cs (2)
23await themeManager.EnsureInitializedAsync(); 37await themeManager.EnsureInitializedAsync();