15 references to EnsureInitializedAsync
Aspire.Dashboard (8)
Components\Controls\Chart\ChartContainer.razor.cs (1)
109await ThemeManager.EnsureInitializedAsync();
Components\Controls\TextVisualizer.razor.cs (1)
53await ThemeManager.EnsureInitializedAsync();
Components\Layout\MainLayout.razor.cs (2)
356await ThemeManager.EnsureInitializedAsync(); 552await ThemeManager.EnsureInitializedAsync();
Components\Legacy\Layout\LegacyMainLayout.razor.cs (2)
299await ThemeManager.EnsureInitializedAsync(); 482await ThemeManager.EnsureInitializedAsync();
Model\ThemeManager.cs (2)
85/// To ensure the theme is loaded from the browser, <see cref="EnsureInitializedAsync"/> must be called before accessing. 99/// To ensure the theme is loaded from the browser, <see cref="EnsureInitializedAsync"/> must be called before accessing.
Aspire.Dashboard.Components.Tests (7)
Dialogs\LegacySettingsDialogTests.cs (1)
19await themeManager.EnsureInitializedAsync();
Dialogs\SettingsDialogTests.cs (6)
28await themeManager.EnsureInitializedAsync(); 42await themeManager.EnsureInitializedAsync(); 58await themeManager.EnsureInitializedAsync(); 74await themeManager.EnsureInitializedAsync(); 89await themeManager.EnsureInitializedAsync(); 133await themeManager.EnsureInitializedAsync();