1 implementation of GetNotifications
Aspire.Dashboard (1)
Model\NotificationService.cs (1)
30
public IReadOnlyList<NotificationMessage>
GetNotifications
()
14 references to GetNotifications
Aspire.Dashboard (2)
Components\Dialogs\NotificationsDialog.razor.cs (2)
22
_notifications = NotificationService.
GetNotifications
();
31
_notifications = NotificationService.
GetNotifications
();
Aspire.Dashboard.Components.Tests (6)
Layout\TerminalDockTests.cs (6)
471
Assert.Empty(Services.GetRequiredService<INotificationService>().
GetNotifications
());
503
Assert.Empty(notifications.
GetNotifications
());
514
var notification = Assert.Single(notifications.
GetNotifications
()).Entry;
562
Assert.Empty(Services.GetRequiredService<INotificationService>().
GetNotifications
());
614
Assert.Empty(Services.GetRequiredService<INotificationService>().
GetNotifications
());
640
Assert.Empty(Services.GetRequiredService<INotificationService>().
GetNotifications
());
Aspire.Dashboard.Tests (6)
Model\DashboardCommandExecutorTests.cs (6)
45
var startingNotification = Assert.Single(notificationService.
GetNotifications
());
54
var cancelingNotification = Assert.Single(notificationService.
GetNotifications
());
66
var canceledNotification = Assert.Single(notificationService.
GetNotifications
());
89
var startingNotification = Assert.Single(notificationService.
GetNotifications
());
100
var cancelingNotification = Assert.Single(notificationService.
GetNotifications
());
150
var notification = Assert.Single(notificationService.
GetNotifications
());