1 implementation of GetNotifications
Aspire.Dashboard (1)
Model\NotificationService.cs (1)
30
public IReadOnlyList<NotificationMessage>
GetNotifications
()
17 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)
502
Assert.Empty(Services.GetRequiredService<INotificationService>().
GetNotifications
());
534
Assert.Empty(notifications.
GetNotifications
());
545
var notification = Assert.Single(notifications.
GetNotifications
()).Entry;
593
Assert.Empty(Services.GetRequiredService<INotificationService>().
GetNotifications
());
645
Assert.Empty(Services.GetRequiredService<INotificationService>().
GetNotifications
());
671
Assert.Empty(Services.GetRequiredService<INotificationService>().
GetNotifications
());
Model\DashboardCommandExecutorTests.cs (1)
109
Assert.Equal(message, Assert.Single(notifications.
GetNotifications
()).Entry.Body);
Aspire.Dashboard.Tests (7)
Model\DashboardCommandExecutorTests.cs (7)
127
Assert.Empty(notificationService.
GetNotifications
());
230
var startingNotification = Assert.Single(notificationService.
GetNotifications
());
239
var cancelingNotification = Assert.Single(notificationService.
GetNotifications
());
251
var canceledNotification = Assert.Single(notificationService.
GetNotifications
());
274
var startingNotification = Assert.Single(notificationService.
GetNotifications
());
285
var cancelingNotification = Assert.Single(notificationService.
GetNotifications
());
335
var notification = Assert.Single(notificationService.
GetNotifications
());