7 references to EnsureInitializedAsync
Aspire.Dashboard (6)
Components\Controls\Chart\ChartContainer.razor.cs (1)
83await ThemeManager.EnsureInitializedAsync();
Components\Controls\TextVisualizer.razor.cs (1)
63await ThemeManager.EnsureInitializedAsync();
Components\Layout\MainLayout.razor.cs (2)
254await ThemeManager.EnsureInitializedAsync(); 427await 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 (1)
Dialogs\SettingsDialogTests.cs (1)
19await themeManager.EnsureInitializedAsync();