1 instantiation of NotificationMessage
Aspire.Dashboard (1)
Model\NotificationService.cs (1)
39result[i] = new NotificationMessage { Id = item.Id, Entry = item.Entry };
10 references to NotificationMessage
Aspire.Dashboard (4)
Components\Dialogs\NotificationsDialog.razor.cs (1)
12private IReadOnlyList<NotificationMessage> _notifications = [];
Model\INotificationService.cs (1)
23IReadOnlyList<NotificationMessage> GetNotifications();
Model\NotificationService.cs (2)
30public IReadOnlyList<NotificationMessage> GetNotifications() 35var result = new NotificationMessage[_notifications.Count];
Aspire.Dashboard.Tests (6)
Model\DashboardCommandExecutorTests.cs (6)
45var startingNotification = Assert.Single(notificationService.GetNotifications()); 53var cancelingNotification = Assert.Single(notificationService.GetNotifications()); 65var canceledNotification = Assert.Single(notificationService.GetNotifications()); 90var startingNotification = Assert.Single(notificationService.GetNotifications()); 100var cancelingNotification = Assert.Single(notificationService.GetNotifications()); 141var notification = Assert.Single(notificationService.GetNotifications());