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