3 implementations of GetCurrentRun
Aspire.Dashboard (1)
ServiceClient\DashboardRunStore.cs (1)
291public DashboardRunDescriptor GetCurrentRun() => GetRuns().Single(run => run.IsCurrent);
Aspire.Dashboard.Components.Tests (1)
Shared\FluentUISetupHelpers.cs (1)
324public DashboardRunDescriptor GetCurrentRun() => WithDefaultDatabasePath(_runs.Single(run => run.IsCurrent));
Aspire.Dashboard.Tests (1)
Shared\TestDashboardDataSource.cs (1)
54public DashboardRunDescriptor GetCurrentRun() => _runs.Single(run => run.IsCurrent);
5 references to GetCurrentRun
Aspire.Dashboard (2)
ServiceClient\DashboardDataSource.cs (1)
82var currentRun = _runStore.GetCurrentRun();
ServiceClient\DashboardDataSourcePool.cs (1)
49var currentRun = _runStore.GetCurrentRun();
Aspire.Dashboard.Components.Tests (3)
Shared\FluentUISetupHelpers.cs (3)
360public DashboardRunDescriptor SelectedRun { get; private set; } = runStore.GetCurrentRun(); 369SelectedRun = runId is not null ? runStore.GetRunById(runId, onlyCompatible: true) ?? runStore.GetCurrentRun() : runStore.GetCurrentRun();