15 references to EnsureInitializedAsync
Aspire.Dashboard (8)
Components\Controls\Chart\ChartContainer.razor.cs (1)
109
await ThemeManager.
EnsureInitializedAsync
();
Components\Controls\TextVisualizer.razor.cs (1)
53
await ThemeManager.
EnsureInitializedAsync
();
Components\Layout\MainLayout.razor.cs (2)
356
await ThemeManager.
EnsureInitializedAsync
();
552
await ThemeManager.
EnsureInitializedAsync
();
Components\Legacy\Layout\LegacyMainLayout.razor.cs (2)
299
await ThemeManager.
EnsureInitializedAsync
();
482
await 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)
19
await themeManager.
EnsureInitializedAsync
();
Dialogs\SettingsDialogTests.cs (6)
28
await themeManager.
EnsureInitializedAsync
();
42
await themeManager.
EnsureInitializedAsync
();
58
await themeManager.
EnsureInitializedAsync
();
74
await themeManager.
EnsureInitializedAsync
();
89
await themeManager.
EnsureInitializedAsync
();
133
await themeManager.
EnsureInitializedAsync
();