6 implementations of PromptNotificationAsync
Aspire.Hosting (1)
InteractionService.cs (1)
274public async Task<InteractionResult<bool>> PromptNotificationAsync(string title, string message, NotificationInteractionOptions? options = null, CancellationToken cancellationToken = default)
Aspire.Hosting.Azure.Tests (1)
tests\Shared\TestInteractionService.cs (1)
66public async Task<InteractionResult<bool>> PromptNotificationAsync(string title, string message, NotificationInteractionOptions? options = null, CancellationToken cancellationToken = default)
Aspire.Hosting.Browsers.Tests (1)
tests\Shared\TestInteractionService.cs (1)
66public async Task<InteractionResult<bool>> PromptNotificationAsync(string title, string message, NotificationInteractionOptions? options = null, CancellationToken cancellationToken = default)
Aspire.Hosting.DevTunnels.Tests (1)
tests\Shared\TestInteractionService.cs (1)
66public async Task<InteractionResult<bool>> PromptNotificationAsync(string title, string message, NotificationInteractionOptions? options = null, CancellationToken cancellationToken = default)
Aspire.Hosting.RemoteHost.Tests (1)
tests\Shared\TestInteractionService.cs (1)
66public async Task<InteractionResult<bool>> PromptNotificationAsync(string title, string message, NotificationInteractionOptions? options = null, CancellationToken cancellationToken = default)
Aspire.Hosting.Tests (1)
tests\Shared\TestInteractionService.cs (1)
66public async Task<InteractionResult<bool>> PromptNotificationAsync(string title, string message, NotificationInteractionOptions? options = null, CancellationToken cancellationToken = default)
28 references to PromptNotificationAsync
Aspire.Hosting (9)
ApplicationModel\RequiredCommandValidator.cs (1)
134_ = _interactionService.PromptNotificationAsync(
Ats\InteractionExports.cs (1)
97var result = await interactionService.PromptNotificationAsync(title, message, options?.ToOptions(), cancellationToken).ConfigureAwait(false);
Dcp\DcpHost.cs (3)
163_ = _interactionService.PromptNotificationAsync( 665_ = _interactionService.PromptNotificationAsync(title, message, options, cancellationToken); 692var notificationTask = _interactionService.PromptNotificationAsync(title, message, options, notificationCts.Token);
Orchestrator\ParameterProcessor.cs (1)
724var result = await interactionService.PromptNotificationAsync(
Pipelines\DistributedApplicationPipeline.cs (1)
90var result = await interactionService.PromptNotificationAsync(
Publishing\ContainerRuntimeReadiness.cs (1)
46var result = await interactionService.PromptNotificationAsync(
VersionChecking\VersionCheckService.cs (1)
147var result = await _interactionService.PromptNotificationAsync(
Aspire.Hosting.Azure (2)
AzureEnvironmentResource.cs (1)
355var result = await interactionService.PromptNotificationAsync(
AzureProvisioningController.cs (1)
1712var notificationResult = await interactionService.PromptNotificationAsync(
Aspire.Hosting.DevTunnels (2)
DevTunnelLoginManager.cs (1)
56var result = await _interactionService.PromptNotificationAsync(
LoggedOutNotificationManager.cs (1)
16_ = await interactionService.PromptNotificationAsync(
Aspire.Hosting.Docker (1)
DockerComposeEnvironmentResource.cs (1)
529var result = await interactionService.PromptNotificationAsync(
Aspire.Hosting.EntityFrameworkCore (2)
EFResourceBuilderExtensions.cs (2)
1010await interaction.PromptNotificationAsync( 1052await interactionService.PromptNotificationAsync(
Aspire.Hosting.Kubernetes (1)
Deployment\HelmDeploymentEngine.cs (1)
681var result = await interactionService.PromptNotificationAsync(
Stress.AppHost (11)
InteractionCommands.cs (11)
39_ = interactionService.PromptNotificationAsync("Success bar", "The command successfully executed.", new NotificationInteractionOptions { Intent = MessageIntent.Success }); 40_ = interactionService.PromptNotificationAsync("Information bar", "The command successfully executed.", new NotificationInteractionOptions { Intent = MessageIntent.Information }); 41_ = interactionService.PromptNotificationAsync("Warning bar", "The command successfully executed.", new NotificationInteractionOptions { Intent = MessageIntent.Warning }); 42_ = interactionService.PromptNotificationAsync("Error bar", "The command successfully executed.", new NotificationInteractionOptions { Intent = MessageIntent.Error, LinkText = "Click here for more information", LinkUrl = "https://www.microsoft.com" }); 43_ = interactionService.PromptNotificationAsync("Confirmation bar", "The command successfully executed.", new NotificationInteractionOptions { Intent = MessageIntent.Confirmation }); 44_ = interactionService.PromptNotificationAsync("No dismiss", "The command successfully executed.", new NotificationInteractionOptions { Intent = MessageIntent.Information, ShowDismiss = false }); 58_ = interactionService.PromptNotificationAsync("Container runtime unhealthy", message, new NotificationInteractionOptions { Intent = MessageIntent.Error, EnableMessageMarkdown = true }); 67_ = interactionService.PromptNotificationAsync("Success <strong>bar</strong>", "The **command** successfully executed.", new NotificationInteractionOptions { Intent = MessageIntent.Success }); 68_ = interactionService.PromptNotificationAsync("Success <strong>bar</strong>", "The **command** successfully executed.", new NotificationInteractionOptions { Intent = MessageIntent.Success, EnableMessageMarkdown = true }); 69_ = interactionService.PromptNotificationAsync("Success <strong>bar</strong>", "Multiline 1\r\n\r\nMultiline 2", new NotificationInteractionOptions { Intent = MessageIntent.Success, EnableMessageMarkdown = true }); 626return interactionService.PromptNotificationAsync(