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