2 implementations of IDashboardRunSelection
Aspire.Dashboard (1)
ServiceClient\DashboardDataSource.cs (1)
28public sealed class DashboardDataSource : IDashboardRunSelection, IDisposable
Aspire.Dashboard.Components.Tests (1)
Shared\FluentUISetupHelpers.cs (1)
315internal sealed class TestDashboardRunSelection(IDashboardRunStore runStore) : IDashboardRunSelection
12 references to IDashboardRunSelection
Aspire.Dashboard (4)
Components\Layout\MainLayout.razor.cs (1)
96public required IDashboardRunSelection RunSelection { get; init; }
DashboardWebApplication.cs (1)
327builder.Services.AddScoped<IDashboardRunSelection>(services => services.GetRequiredService<DashboardDataSource>());
ServiceClient\DashboardDataSource.cs (2)
76DashboardRunDescriptor IDashboardRunSelection.SelectedRun => SelectedRun; 78void IDashboardRunSelection.SelectRun(string? runId) => SelectRun(runId);
Aspire.Dashboard.Components.Tests (8)
Layout\MainLayoutTerminalTests.cs (1)
104var selection = Assert.IsType<FluentUISetupHelpers.TestDashboardRunSelection>(Services.GetRequiredService<IDashboardRunSelection>());
Layout\MainLayoutTests.cs (6)
438var runSelection = Assert.IsType<FluentUISetupHelpers.TestDashboardRunSelection>(Services.GetRequiredService<IDashboardRunSelection>()); 578var runSelection = Assert.IsType<FluentUISetupHelpers.TestDashboardRunSelection>(Services.GetRequiredService<IDashboardRunSelection>()); 691var runSelection = Assert.IsType<FluentUISetupHelpers.TestDashboardRunSelection>(Services.GetRequiredService<IDashboardRunSelection>()); 919var runSelection = Assert.IsType<FluentUISetupHelpers.TestDashboardRunSelection>(Services.GetRequiredService<IDashboardRunSelection>()); 1029var runSelection = Assert.IsType<FluentUISetupHelpers.TestDashboardRunSelection>(Services.GetRequiredService<IDashboardRunSelection>()); 1104var runSelection = Assert.IsType<FluentUISetupHelpers.TestDashboardRunSelection>(Services.GetRequiredService<IDashboardRunSelection>());
Shared\FluentUISetupHelpers.cs (1)
233context.Services.AddSingleton<IDashboardRunSelection, TestDashboardRunSelection>();