2 implementations of PromptMessageBoxAsync
Aspire.Hosting (1)
ApplicationModel\InteractionService.cs (1)
45
public async Task<InteractionResult<bool>>
PromptMessageBoxAsync
(string title, string message, MessageBoxInteractionOptions? options = null, CancellationToken cancellationToken = default)
Aspire.Hosting.Tests (1)
VersionChecking\VersionCheckServiceTests.cs (1)
271
public Task<InteractionResult<bool>>
PromptMessageBoxAsync
(string title, string message, MessageBoxInteractionOptions? options = null, CancellationToken cancellationToken = default)
4 references to PromptMessageBoxAsync
Stress.AppHost (4)
InteractionCommands.cs (4)
19
var resultTask2 = interactionService.
PromptMessageBoxAsync
("Command confirmation", "Are you really sure?", new MessageBoxInteractionOptions { Intent = MessageIntent.Warning, ShowSecondaryButton = true }, cancellationToken: commandContext.CancellationToken);
28
_ = interactionService.
PromptMessageBoxAsync
("Command executed", "The command successfully executed.", new MessageBoxInteractionOptions { Intent = MessageIntent.Success, PrimaryButtonText = "Yeah!" });
52
_ = interactionService.
PromptMessageBoxAsync
("Success <strong>bar</strong>", "The <strong>command</strong> successfully executed.", new MessageBoxInteractionOptions { Intent = MessageIntent.Success });
53
_ = interactionService.
PromptMessageBoxAsync
("Success <strong>bar</strong>", "The <strong>command</strong> successfully executed.", new MessageBoxInteractionOptions { Intent = MessageIntent.Success, /*EscapeMessageHtml = false*/ });