2 implementations of SelectedRun
Aspire.Dashboard (1)
ServiceClient\DashboardDataSource.cs (1)
76DashboardRunDescriptor IDashboardRunSelection.SelectedRun => SelectedRun;
Aspire.Dashboard.Components.Tests (1)
Shared\FluentUISetupHelpers.cs (1)
360public DashboardRunDescriptor SelectedRun { get; private set; } = runStore.GetCurrentRun();
10 references to SelectedRun
Aspire.Dashboard (9)
Components\Layout\MainLayout.razor.cs (5)
143if (RunSelection.SelectedRun.IsCurrent) 373var selectedRunId = RunSelection.SelectedRun is { IsCurrent: false } selectedRun ? selectedRun.RunId : null; 394RunSelection.SelectedRun.RunId); 402var persistedRunId = RunSelection.SelectedRun is { IsCurrent: false } actualSelectedRun ? actualSelectedRun.RunId : string.Empty; 561var content = new DashboardRunsDialogContent(RunSelection.SelectedRun.RunId, SwitchDashboardRunAsync);
Components\Legacy\Layout\LegacyMainLayout.razor.cs (4)
131if (RunSelection.SelectedRun.IsCurrent) 324var selectedRunId = RunSelection.SelectedRun is { IsCurrent: false } selectedRun ? selectedRun.RunId : null; 345RunSelection.SelectedRun.RunId); 353var persistedRunId = RunSelection.SelectedRun is { IsCurrent: false } actualSelectedRun ? actualSelectedRun.RunId : string.Empty;
Aspire.Dashboard.Components.Tests (1)
Layout\MainLayoutTests.cs (1)
473Assert.Equal(Services.GetRequiredService<IDashboardRunSelection>().SelectedRun.RunId, content.SelectedRunId);