6 implementations of PromptNotificationAsync
Aspire.Hosting (1)
InteractionService.cs (1)
267public 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)
27 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)
172_ = _interactionService.PromptNotificationAsync( 657_ = _interactionService.PromptNotificationAsync(title, message, options, cancellationToken); 684var notificationTask = _interactionService.PromptNotificationAsync(title, message, options, notificationCts.Token);
Orchestrator\ParameterProcessor.cs (1)
560var 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)
333var result = await interactionService.PromptNotificationAsync(
AzureProvisioningController.cs (1)
1664var 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)
523var result = await interactionService.PromptNotificationAsync(
Aspire.Hosting.EntityFrameworkCore (2)
EFResourceBuilderExtensions.cs (2)
1015await interaction.PromptNotificationAsync( 1057await interactionService.PromptNotificationAsync(
Aspire.Hosting.Kubernetes (1)
Deployment\HelmDeploymentEngine.cs (1)
682var result = await interactionService.PromptNotificationAsync(
Stress.AppHost (10)
InteractionCommands.cs (10)
38_ = interactionService.PromptNotificationAsync("Success bar", "The command successfully executed.", new NotificationInteractionOptions { Intent = MessageIntent.Success }); 39_ = interactionService.PromptNotificationAsync("Information bar", "The command successfully executed.", new NotificationInteractionOptions { Intent = MessageIntent.Information }); 40_ = interactionService.PromptNotificationAsync("Warning bar", "The command successfully executed.", new NotificationInteractionOptions { Intent = MessageIntent.Warning }); 41_ = interactionService.PromptNotificationAsync("Error bar", "The command successfully executed.", new NotificationInteractionOptions { Intent = MessageIntent.Error, LinkText = "Click here for more information", LinkUrl = "https://www.microsoft.com" }); 42_ = interactionService.PromptNotificationAsync("Confirmation bar", "The command successfully executed.", new NotificationInteractionOptions { Intent = MessageIntent.Confirmation }); 43_ = interactionService.PromptNotificationAsync("No dismiss", "The command successfully executed.", new NotificationInteractionOptions { Intent = MessageIntent.Information, ShowDismiss = false }); 51_ = interactionService.PromptNotificationAsync("Success <strong>bar</strong>", "The **command** successfully executed.", new NotificationInteractionOptions { Intent = MessageIntent.Success }); 52_ = interactionService.PromptNotificationAsync("Success <strong>bar</strong>", "The **command** successfully executed.", new NotificationInteractionOptions { Intent = MessageIntent.Success, EnableMessageMarkdown = true }); 53_ = interactionService.PromptNotificationAsync("Success <strong>bar</strong>", "Multiline 1\r\n\r\nMultiline 2", new NotificationInteractionOptions { Intent = MessageIntent.Success, EnableMessageMarkdown = true }); 610return interactionService.PromptNotificationAsync(