1 write to ConfirmationMessage
Aspire.Hosting (1)
ApplicationModel\ResourceCommandAnnotation.cs (1)
85ConfirmationMessage = confirmationMessage;
14 references to ConfirmationMessage
Aspire.Hosting (1)
ApplicationModel\ResourceNotificationService.cs (1)
1158return new ResourceCommandSnapshot(annotation.Name, state, annotation.DisplayName, annotation.DisplayDescription, annotation.Parameter, annotation.ConfirmationMessage, annotation.IconName, annotation.IconVariant, annotation.IsHighlighted)
Aspire.Hosting.Azure.Tests (1)
AzureEnvironmentResourceExtensionsTests.cs (1)
77Assert.Contains("may be left orphaned", resetCommand.ConfirmationMessage);
Aspire.Hosting.EntityFrameworkCore.Tests (6)
EFMigrationCommandsTests.cs (6)
39Assert.NotNull(dropCommand.ConfirmationMessage); 54Assert.NotNull(resetCommand.ConfirmationMessage); 169Assert.NotNull(dropCommand.ConfirmationMessage); 170Assert.NotNull(resetCommand.ConfirmationMessage); 185Assert.Null(updateCommand.ConfirmationMessage); 186Assert.Null(statusCommand.ConfirmationMessage);
Aspire.Hosting.Tests (6)
WithHttpCommandTests.cs (4)
213Assert.Null(command.ConfirmationMessage); 245Assert.Equal("Are you sure?", command.ConfirmationMessage); 284Assert.Equal("Are you sure?", command.ConfirmationMessage); 318Assert.Equal("Top-level confirmation", command.ConfirmationMessage);
WithProcessCommandTests.cs (2)
76Assert.Equal("Are you sure?", command.ConfirmationMessage); 116Assert.Equal("Run export command?", command.ConfirmationMessage);