7 instantiations of NotificationEntry
Aspire.Dashboard (6)
Components\Layout\TerminalDock.razor.cs (1)
451NotificationService.AddNotification(new NotificationEntry
Model\DashboardCommandExecutor.cs (5)
166progressNotificationId = notificationService.AddNotification(new NotificationEntry 214notificationService.ReplaceNotification(GetProgressNotificationId(), new NotificationEntry 236notificationService.ReplaceNotification(GetProgressNotificationId(), new NotificationEntry 267notificationService.ReplaceNotification(GetProgressNotificationId(), new NotificationEntry 318notificationService.ReplaceNotification(GetProgressNotificationId(), new NotificationEntry
Aspire.Dashboard.Components.Tests (1)
Dialogs\NotificationEntryComponentTests.cs (1)
27var entry = new NotificationEntry
10 references to NotificationEntry
Aspire.Dashboard (7)
Components\Dialogs\NotificationEntryComponent.razor.cs (1)
14public required NotificationEntry Entry { get; set; }
Model\INotificationService.cs (3)
29string AddNotification(NotificationEntry notification); 34void ReplaceNotification(string id, NotificationEntry notification); 84public required NotificationEntry Entry { get; init; }
Model\NotificationService.cs (3)
14private readonly List<(string Id, NotificationEntry Entry)> _notifications = []; 46public string AddNotification(NotificationEntry notification) 66public void ReplaceNotification(string id, NotificationEntry notification)
Aspire.Dashboard.Components.Tests (3)
Controls\TerminalDisconnectedBannerTests.cs (1)
89var notification = Assert.Single(Services.GetRequiredService<Dashboard.Model.INotificationService>().GetNotifications()).Entry;
Dialogs\NotificationEntryComponentTests.cs (1)
27var entry = new NotificationEntry
Layout\TerminalDockTests.cs (1)
545var notification = Assert.Single(notifications.GetNotifications()).Entry;