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