1 write to Entry
Aspire.Dashboard (1)
Model\NotificationService.cs (1)
39result[i] = new NotificationMessage { Id = item.Id, Entry = item.Entry };
13 references to Entry
Aspire.Dashboard.Components.Tests (3)
Controls\TerminalDisconnectedBannerTests.cs (1)
89var notification = Assert.Single(Services.GetRequiredService<Dashboard.Model.INotificationService>().GetNotifications()).Entry;
Layout\TerminalDockTests.cs (1)
547var notification = Assert.Single(notifications.GetNotifications()).Entry;
Model\DashboardCommandExecutorTests.cs (1)
109Assert.Equal(message, Assert.Single(notifications.GetNotifications()).Entry.Body);
Aspire.Dashboard.Tests (10)
Model\DashboardCommandExecutorTests.cs (10)
138Assert.Equal("Localized:ResourceCommandCancel", startingNotification.Entry.PrimaryAction?.Text); 141await startingNotification.Entry.PrimaryAction!.OnClick(new ServiceCollection().BuildServiceProvider()); 145Assert.Equal("Localized:ResourceCommandCanceling", cancelingNotification.Entry.Title); 146Assert.Null(cancelingNotification.Entry.PrimaryAction); 157Assert.Equal("Localized:ResourceCommandCanceled", canceledNotification.Entry.Title); 158Assert.Null(canceledNotification.Entry.PrimaryAction); 180var cancelAction = startingNotification.Entry.PrimaryAction; 191Assert.Equal("Localized:ResourceCommandCanceling", cancelingNotification.Entry.Title); 241Assert.Equal("Localized:ResourceCommandSuccess", notification.Entry.Title); 242Assert.Null(notification.Entry.PrimaryAction);