6 references to IsLegacyAvailable
Aspire.Dashboard (4)
Components\Dialogs\SettingsDialog.razor.cs (3)
106if (DashboardExperienceComponents.IsLegacyAvailable) 180experience == PreviousDashboardExperience && DashboardExperienceComponents.IsLegacyAvailable ? PreviousDashboardExperience : NewDashboardExperience, 181experience == PreviousDashboardExperience && DashboardExperienceComponents.IsLegacyAvailable ? "/legacy" : "/");
DashboardWebApplication.cs (1)
236builder.Services.TryAddSingleton(new DashboardExperienceAvailability(DashboardExperienceComponents.IsLegacyAvailable));
Aspire.Dashboard.Components.Tests (2)
Dialogs\SettingsDialogTests.cs (2)
113var expectedExperience = experience == "legacy" && DashboardExperienceComponents.IsLegacyAvailable ? "legacy" : "modern"; 139if (DashboardExperienceComponents.IsLegacyAvailable)