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)
545var 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)
233Assert.Equal("Localized:ResourceCommandCancel", startingNotification.Entry.PrimaryAction?.Text); 236await startingNotification.Entry.PrimaryAction!.OnClick(new ServiceCollection().BuildServiceProvider()); 240Assert.Equal("Localized:ResourceCommandCanceling", cancelingNotification.Entry.Title); 241Assert.Null(cancelingNotification.Entry.PrimaryAction); 252Assert.Equal("Localized:ResourceCommandCanceled", canceledNotification.Entry.Title); 253Assert.Null(canceledNotification.Entry.PrimaryAction); 275var cancelAction = startingNotification.Entry.PrimaryAction; 286Assert.Equal("Localized:ResourceCommandCanceling", cancelingNotification.Entry.Title); 336Assert.Equal("Localized:ResourceCommandSuccess", notification.Entry.Title); 337Assert.Null(notification.Entry.PrimaryAction);