1 write to CanStart
Aspire.Tray.Tests (1)
src\Aspire.Tray\Common\TrayController.cs (1)
663CanStart = live && start?.BlocksStart != true,
13 references to CanStart
Aspire.Tray.Tests (13)
TrayControllerSavedStateTests.cs (13)
41await WaitForStateAsync(controller, state => state.AppHosts.Concat(state.RecentAppHosts).Any(row => row.CanStart)); 54Assert.False(row.CanStart); 81Assert.False(Assert.Single(controller.State.RecentAppHosts).CanStart); 148Assert.False(row.CanStart); 204Assert.True(Assert.Single(controller.State.AppHosts).CanStart); 205Assert.True(Assert.Single(controller.State.RecentAppHosts).CanStart); 226Assert.False(live.CanStart); 235Assert.False(controller.State.AppHosts[0].CanStart); 241Assert.True(offline.CanStart); 409Assert.False(row.CanStart); 467Assert.False(row.CanStart); 488Assert.True(controller.State.RecentAppHosts[0].CanStart); 497Assert.False(controller.State.RecentAppHosts[0].CanStart);