1 write to Entry
Aspire.Dashboard (1)
Model\NotificationService.cs (1)
39
result[i] = new NotificationMessage { Id = item.Id,
Entry
= item.Entry };
13 references to Entry
Aspire.Dashboard.Components.Tests (3)
Controls\TerminalDisconnectedBannerTests.cs (1)
89
var notification = Assert.Single(Services.GetRequiredService<Dashboard.Model.INotificationService>().GetNotifications()).
Entry
;
Layout\TerminalDockTests.cs (1)
545
var notification = Assert.Single(notifications.GetNotifications()).
Entry
;
Model\DashboardCommandExecutorTests.cs (1)
109
Assert.Equal(message, Assert.Single(notifications.GetNotifications()).
Entry
.Body);
Aspire.Dashboard.Tests (10)
Model\DashboardCommandExecutorTests.cs (10)
233
Assert.Equal("Localized:ResourceCommandCancel", startingNotification.
Entry
.PrimaryAction?.Text);
236
await startingNotification.
Entry
.PrimaryAction!.OnClick(new ServiceCollection().BuildServiceProvider());
240
Assert.Equal("Localized:ResourceCommandCanceling", cancelingNotification.
Entry
.Title);
241
Assert.Null(cancelingNotification.
Entry
.PrimaryAction);
252
Assert.Equal("Localized:ResourceCommandCanceled", canceledNotification.
Entry
.Title);
253
Assert.Null(canceledNotification.
Entry
.PrimaryAction);
275
var cancelAction = startingNotification.
Entry
.PrimaryAction;
286
Assert.Equal("Localized:ResourceCommandCanceling", cancelingNotification.
Entry
.Title);
336
Assert.Equal("Localized:ResourceCommandSuccess", notification.
Entry
.Title);
337
Assert.Null(notification.
Entry
.PrimaryAction);