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