14 references to EnsureInitializedAsync
Aspire.Dashboard (8)
Components\Controls\Chart\ChartContainer.razor.cs (1)
121await ThemeManager.EnsureInitializedAsync();
Components\Controls\TextVisualizer.razor.cs (1)
53await ThemeManager.EnsureInitializedAsync();
Components\Layout\MainLayout.razor.cs (2)
335await ThemeManager.EnsureInitializedAsync(); 498await ThemeManager.EnsureInitializedAsync();
Components\Legacy\Layout\LegacyMainLayout.razor.cs (2)
286await ThemeManager.EnsureInitializedAsync(); 469await 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 (6)
Dialogs\LegacySettingsDialogTests.cs (1)
19await themeManager.EnsureInitializedAsync();
Dialogs\SettingsDialogTests.cs (5)
27await themeManager.EnsureInitializedAsync(); 41await themeManager.EnsureInitializedAsync(); 56await themeManager.EnsureInitializedAsync(); 71await themeManager.EnsureInitializedAsync(); 116await themeManager.EnsureInitializedAsync();