1 write to Entry
Aspire.Dashboard (1)
Model\NotificationService.cs (1)
39
result[i] = new NotificationMessage { Id = item.Id,
Entry
= item.Entry };
11 references to Entry
Aspire.Dashboard.Components.Tests (1)
Layout\TerminalDockTests.cs (1)
514
var notification = Assert.Single(notifications.GetNotifications()).
Entry
;
Aspire.Dashboard.Tests (10)
Model\DashboardCommandExecutorTests.cs (10)
48
Assert.Equal("Localized:ResourceCommandCancel", startingNotification.
Entry
.PrimaryAction?.Text);
51
await startingNotification.
Entry
.PrimaryAction!.OnClick(new ServiceCollection().BuildServiceProvider());
55
Assert.Equal("Localized:ResourceCommandCanceling", cancelingNotification.
Entry
.Title);
56
Assert.Null(cancelingNotification.
Entry
.PrimaryAction);
67
Assert.Equal("Localized:ResourceCommandCanceled", canceledNotification.
Entry
.Title);
68
Assert.Null(canceledNotification.
Entry
.PrimaryAction);
90
var cancelAction = startingNotification.
Entry
.PrimaryAction;
101
Assert.Equal("Localized:ResourceCommandCanceling", cancelingNotification.
Entry
.Title);
151
Assert.Equal("Localized:ResourceCommandSuccess", notification.
Entry
.Title);
152
Assert.Null(notification.
Entry
.PrimaryAction);