6 implementations of PromptNotificationAsync
Aspire.Hosting (1)
InteractionService.cs (1)
263public 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)
60public 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)
60public 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)
60public 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)
60public async Task<InteractionResult<bool>> PromptNotificationAsync(string title, string message, NotificationInteractionOptions? options = null, CancellationToken cancellationToken = default)
Aspire.Hosting.Tests (1)
tests\Shared\TestInteractionService.cs (1)
60public 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)
170_ = _interactionService.PromptNotificationAsync( 566_ = _interactionService.PromptNotificationAsync(title, message, options, cancellationToken); 593var notificationTask = _interactionService.PromptNotificationAsync(title, message, options, notificationCts.Token);
Orchestrator\ParameterProcessor.cs (1)
563var result = await interactionService.PromptNotificationAsync(
Pipelines\DistributedApplicationPipeline.cs (2)
92var result = await interactionService.PromptNotificationAsync( 176var result = await interactionService.PromptNotificationAsync(
VersionChecking\VersionCheckService.cs (1)
149var result = await _interactionService.PromptNotificationAsync(
Aspire.Hosting.Azure (2)
AzureEnvironmentResource.cs (1)
337var result = await interactionService.PromptNotificationAsync(
AzureProvisioningController.cs (1)
1667var 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)
497var result = await interactionService.PromptNotificationAsync(
Aspire.Hosting.EntityFrameworkCore (2)
EFResourceBuilderExtensions.cs (2)
931await interaction.PromptNotificationAsync( 973await interactionService.PromptNotificationAsync(
Aspire.Hosting.Kubernetes (1)
Deployment\HelmDeploymentEngine.cs (1)
648var 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 }); 529return interactionService.PromptNotificationAsync(