1 write to _hosts
aspire-tray (1)
NativeSmokeHarness.cs (1)
46_hosts = Enum.GetValues<AppHostHealth>().Select((health, index) => new AppHostInfo(
18 references to _hosts
aspire-tray (18)
NativeSmokeHarness.cs (18)
155Publish(_hosts); 168Require(_copiedPaths.SequenceEqual(_hosts.Select(host => host.AppHostPath) 171_application.ClickPanelForSmoke(PanelTargetKind.Dashboard, _hosts[0].Id); 176_application.VerifyActionListForSmoke(_hosts[1].Id); 177_application.PickRowActionForSmoke(_hosts[0].Id, PanelTargetKind.TogglePin); 178Require(_controller.State.AppHosts.Single(host => host.Id == _hosts[0].Id).IsPinned, "Pin from the action list did not persist."); 179_staleHost = _controller.State.AppHosts.Single(host => host.Id == _hosts[0].Id); 180_application.ClickPanelForSmoke(PanelTargetKind.Stop, _hosts[0].Id); 184if (_client.Stops.Count != 1 || !state.AppHosts.Single(host => host.Id == _hosts[0].Id).IsStopping) 190Publish([_hosts[3], _hosts[2], _hosts[1], Replacement(_hosts[0])]); 193if (!state.AppHosts.Any(host => host.Id == Replacement(_hosts[0]).Id)) 203_application.PressPanelForSmoke(PanelTargetKind.Stop, _hosts[2].Id); 216Require(stops.Length == 2 && stops.Contains(_hosts[0].Id) && stops.Contains(_hosts[2].Id), 318Publish(_hosts.Select(host => host with