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