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