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