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)
547
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)
138
Assert.Equal("Localized:ResourceCommandCancel", startingNotification.
Entry
.PrimaryAction?.Text);
141
await startingNotification.
Entry
.PrimaryAction!.OnClick(new ServiceCollection().BuildServiceProvider());
145
Assert.Equal("Localized:ResourceCommandCanceling", cancelingNotification.
Entry
.Title);
146
Assert.Null(cancelingNotification.
Entry
.PrimaryAction);
157
Assert.Equal("Localized:ResourceCommandCanceled", canceledNotification.
Entry
.Title);
158
Assert.Null(canceledNotification.
Entry
.PrimaryAction);
180
var cancelAction = startingNotification.
Entry
.PrimaryAction;
191
Assert.Equal("Localized:ResourceCommandCanceling", cancelingNotification.
Entry
.Title);
241
Assert.Equal("Localized:ResourceCommandSuccess", notification.
Entry
.Title);
242
Assert.Null(notification.
Entry
.PrimaryAction);