6 references to Update
Aspire.Tray.Tests (6)
src\Aspire.Tray\Linux\LinuxTrayPanel.cs (2)
171
_panel.
Update
(_controller.State);
241
if (_panel.
Update
(state) && Visible)
TrayPanelTests.cs (4)
355
panel.
Update
(state with { AppHosts = state.AppHosts.Skip(1).ToArray() });
436
Assert.False(panel.
Update
(TrayPanelSamples.Empty()));
621
panel.
Update
(state with { RecentAppHosts = state.RecentAppHosts.Take(1).ToArray() });
776
panel.
Update
(TrayPanelSamples.Connecting());