2 implementations of SelectedRun
Aspire.Dashboard (1)
ServiceClient\DashboardDataSource.cs (1)
76DashboardRunDescriptor IDashboardRunSelection.SelectedRun => SelectedRun;
Aspire.Dashboard.Components.Tests (1)
Shared\FluentUISetupHelpers.cs (1)
361public DashboardRunDescriptor SelectedRun { get; private set; } = runStore.GetCurrentRun();
10 references to SelectedRun
Aspire.Dashboard (9)
Components\Layout\MainLayout.razor.cs (5)
230if (RunSelection.SelectedRun.IsCurrent) 428var selectedRunId = RunSelection.SelectedRun is { IsCurrent: false } selectedRun ? selectedRun.RunId : null; 449RunSelection.SelectedRun.RunId); 457var persistedRunId = RunSelection.SelectedRun is { IsCurrent: false } actualSelectedRun ? actualSelectedRun.RunId : string.Empty; 667var content = new DashboardRunsDialogContent(RunSelection.SelectedRun.RunId, SwitchDashboardRunAsync);
Components\Legacy\Layout\LegacyMainLayout.razor.cs (4)
131if (RunSelection.SelectedRun.IsCurrent) 337var selectedRunId = RunSelection.SelectedRun is { IsCurrent: false } selectedRun ? selectedRun.RunId : null; 358RunSelection.SelectedRun.RunId); 366var persistedRunId = RunSelection.SelectedRun is { IsCurrent: false } actualSelectedRun ? actualSelectedRun.RunId : string.Empty;
Aspire.Dashboard.Components.Tests (1)
Layout\MainLayoutTests.cs (1)
619Assert.Equal(Services.GetRequiredService<IDashboardRunSelection>().SelectedRun.RunId, content.SelectedRunId);