1 implementation of GetNotifications
Aspire.Dashboard (1)
Model\NotificationService.cs (1)
30
public IReadOnlyList<NotificationMessage>
GetNotifications
()
16 references to GetNotifications
Aspire.Dashboard (2)
Components\Dialogs\NotificationsDialog.razor.cs (2)
22
_notifications = NotificationService.
GetNotifications
();
31
_notifications = NotificationService.
GetNotifications
();
Aspire.Dashboard.Components.Tests (8)
Controls\TerminalDisconnectedBannerTests.cs (1)
89
var notification = Assert.Single(Services.GetRequiredService<Dashboard.Model.INotificationService>().
GetNotifications
()).Entry;
Layout\TerminalDockTests.cs (6)
504
Assert.Empty(Services.GetRequiredService<INotificationService>().
GetNotifications
());
536
Assert.Empty(notifications.
GetNotifications
());
547
var notification = Assert.Single(notifications.
GetNotifications
()).Entry;
595
Assert.Empty(Services.GetRequiredService<INotificationService>().
GetNotifications
());
647
Assert.Empty(Services.GetRequiredService<INotificationService>().
GetNotifications
());
673
Assert.Empty(Services.GetRequiredService<INotificationService>().
GetNotifications
());
Model\DashboardCommandExecutorTests.cs (1)
109
Assert.Equal(message, Assert.Single(notifications.
GetNotifications
()).Entry.Body);
Aspire.Dashboard.Tests (6)
Model\DashboardCommandExecutorTests.cs (6)
135
var startingNotification = Assert.Single(notificationService.
GetNotifications
());
144
var cancelingNotification = Assert.Single(notificationService.
GetNotifications
());
156
var canceledNotification = Assert.Single(notificationService.
GetNotifications
());
179
var startingNotification = Assert.Single(notificationService.
GetNotifications
());
190
var cancelingNotification = Assert.Single(notificationService.
GetNotifications
());
240
var notification = Assert.Single(notificationService.
GetNotifications
());