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