6 writes to Notice
Aspire.Tray.Tests (6)
Helpers\TrayPanelSamples.cs (2)
73Notice = "Unable to save AppHost history. The saved file was left unchanged." 80Notice = "Discovery is unavailable. Reconnecting…"
src\Aspire.Tray\Common\TrayController.cs (1)
630Notice = notice,
TrayIconStatusTests.cs (2)
43var notice = new TrayViewState(DiscoveryState.Live, [running], "") { Notice = "Unable to save AppHost history." }; 44var noticeWhileIdle = new TrayViewState(DiscoveryState.Live, [], "") { Notice = "Unable to save AppHost history." };
TrayPanelTests.cs (1)
1010var without = new TrayPanel(TrayPanelSamples.Errors() with { Notice = null }, TrayPanelPalette.Light);
7 references to Notice
Aspire.Tray.Tests (7)
src\Aspire.Tray\Common\TrayIconStatus.cs (1)
48=> state.Notice is not null
src\Aspire.Tray\Common\TrayPanel.cs (2)
824var notice = string.IsNullOrWhiteSpace(state.Notice) ? null : state.Notice.Trim();
TrayControllerTests.cs (4)
19Assert.Null(controller.State.Notice); 25Assert.Null(controller.State.Notice); 29Assert.Equal("Discovery is unavailable. Reconnecting\u2026", controller.State.Notice); 45Assert.Equal(expected, controller.State.Notice);