7 instantiations of NotificationEntry
Aspire.Dashboard (6)
Components\Layout\TerminalDock.razor.cs (1)
399NotificationService.AddNotification(new NotificationEntry
Model\DashboardCommandExecutor.cs (5)
126progressNotificationId = notificationService.AddNotification(new NotificationEntry 174notificationService.ReplaceNotification(GetProgressNotificationId(), new NotificationEntry 196notificationService.ReplaceNotification(GetProgressNotificationId(), new NotificationEntry 227notificationService.ReplaceNotification(GetProgressNotificationId(), new NotificationEntry 278notificationService.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)
547var notification = Assert.Single(notifications.GetNotifications()).Entry;