6 implementations of PromptMessageBoxAsync
Aspire.Hosting (1)
InteractionService.cs (1)
111public async Task<InteractionResult<bool>> PromptMessageBoxAsync(string title, string message, MessageBoxInteractionOptions? options = null, CancellationToken cancellationToken = default)
Aspire.Hosting.Azure.Tests (1)
tests\Shared\TestInteractionService.cs (1)
73public async Task<InteractionResult<bool>> PromptMessageBoxAsync(string title, string message, MessageBoxInteractionOptions? options = null, CancellationToken cancellationToken = default)
Aspire.Hosting.Browsers.Tests (1)
tests\Shared\TestInteractionService.cs (1)
73public async Task<InteractionResult<bool>> PromptMessageBoxAsync(string title, string message, MessageBoxInteractionOptions? options = null, CancellationToken cancellationToken = default)
Aspire.Hosting.DevTunnels.Tests (1)
tests\Shared\TestInteractionService.cs (1)
73public async Task<InteractionResult<bool>> PromptMessageBoxAsync(string title, string message, MessageBoxInteractionOptions? options = null, CancellationToken cancellationToken = default)
Aspire.Hosting.RemoteHost.Tests (1)
tests\Shared\TestInteractionService.cs (1)
73public async Task<InteractionResult<bool>> PromptMessageBoxAsync(string title, string message, MessageBoxInteractionOptions? options = null, CancellationToken cancellationToken = default)
Aspire.Hosting.Tests (1)
tests\Shared\TestInteractionService.cs (1)
73public async Task<InteractionResult<bool>> PromptMessageBoxAsync(string title, string message, MessageBoxInteractionOptions? options = null, CancellationToken cancellationToken = default)
16 references to PromptMessageBoxAsync
Aspire.Hosting (1)
Ats\InteractionExports.cs (1)
80var result = await interactionService.PromptMessageBoxAsync(title, message, options?.ToOptions(), cancellationToken).ConfigureAwait(false);
Aspire.Hosting.Azure.Kusto (1)
AzureKustoBuilderExtensions.cs (1)
434_ = await interactionService.PromptMessageBoxAsync(
Aspire.Hosting.DevTunnels (1)
DevTunnelResourceBuilderExtensions.cs (1)
873_ = await interactionService.PromptMessageBoxAsync(
Aspire.Hosting.EntityFrameworkCore (1)
EFResourceBuilderExtensions.cs (1)
1090await interactionService.PromptMessageBoxAsync(
Aspire.Hosting.Tests (2)
InteractionServiceTests.cs (2)
225await interactionService.PromptMessageBoxAsync("Title", "Message", cancellationToken: ct); 241() => interactionService.PromptMessageBoxAsync("Title", "Message")).DefaultTimeout();
Stress.AppHost (8)
AppHost.cs (1)
178await interactionService.PromptMessageBoxAsync("Before start", "This prompt should never be shown before the app host starts.", cancellationToken: ct);
InteractionCommands.cs (7)
22var resultTask2 = interactionService.PromptMessageBoxAsync("Command confirmation", "Are you really sure?", new MessageBoxInteractionOptions { Intent = MessageIntent.Warning, ShowSecondaryButton = true }, cancellationToken: commandContext.CancellationToken); 31_ = interactionService.PromptMessageBoxAsync("Command executed", "The command successfully executed.", new MessageBoxInteractionOptions { Intent = MessageIntent.Success, PrimaryButtonText = "Yeah!" }); 59_ = interactionService.PromptMessageBoxAsync("Container runtime unhealthy", message, new MessageBoxInteractionOptions { Intent = MessageIntent.Error, EnableMessageMarkdown = true }); 71_ = interactionService.PromptMessageBoxAsync("Success <strong>bar</strong>", "The **command** successfully executed.", new MessageBoxInteractionOptions { Intent = MessageIntent.Success }); 72_ = interactionService.PromptMessageBoxAsync("Success <strong>bar</strong>", "The **command** successfully executed.", new MessageBoxInteractionOptions { Intent = MessageIntent.Success, EnableMessageMarkdown = true }); 73_ = interactionService.PromptMessageBoxAsync("Success <strong>bar</strong>", "Multiline 1\r\n\r\nMultiline 2", new MessageBoxInteractionOptions { Intent = MessageIntent.Success, EnableMessageMarkdown = true }); 642return interactionService.PromptMessageBoxAsync(
Terminals.AppHost (2)
TerminalInteractionCommands.cs (2)
372await interactionService.PromptMessageBoxAsync( 431await interactionService.PromptMessageBoxAsync(