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