2 implementations of PromptMessageBarAsync
Aspire.Hosting (1)
ApplicationModel\InteractionService.cs (1)
111
public async Task<InteractionResult<bool>>
PromptMessageBarAsync
(string title, string message, MessageBarInteractionOptions? options = null, CancellationToken cancellationToken = default)
Aspire.Hosting.Tests (1)
VersionChecking\VersionCheckServiceTests.cs (1)
264
public async Task<InteractionResult<bool>>
PromptMessageBarAsync
(string title, string message, MessageBarInteractionOptions? options = null, CancellationToken cancellationToken = default)
9 references to PromptMessageBarAsync
Aspire.Hosting (1)
VersionChecking\VersionCheckService.cs (1)
128
var result = await _interactionService.
PromptMessageBarAsync
(
Stress.AppHost (8)
InteractionCommands.cs (8)
36
_ = interactionService.
PromptMessageBarAsync
("Success bar", "The command successfully executed.", new MessageBarInteractionOptions { Intent = MessageIntent.Success });
37
_ = interactionService.
PromptMessageBarAsync
("Information bar", "The command successfully executed.", new MessageBarInteractionOptions { Intent = MessageIntent.Information });
38
_ = interactionService.
PromptMessageBarAsync
("Warning bar", "The command successfully executed.", new MessageBarInteractionOptions { Intent = MessageIntent.Warning });
39
_ = interactionService.
PromptMessageBarAsync
("Error bar", "The command successfully executed.", new MessageBarInteractionOptions { Intent = MessageIntent.Error, LinkText = "Click here for more information", LinkUrl = "https://www.microsoft.com" });
40
_ = interactionService.
PromptMessageBarAsync
("Confirmation bar", "The command successfully executed.", new MessageBarInteractionOptions { Intent = MessageIntent.Confirmation });
41
_ = interactionService.
PromptMessageBarAsync
("No dismiss", "The command successfully executed.", new MessageBarInteractionOptions { Intent = MessageIntent.Information, ShowDismiss = false });
49
_ = interactionService.
PromptMessageBarAsync
("Success <strong>bar</strong>", "The <strong>command</strong> successfully executed.", new MessageBarInteractionOptions { Intent = MessageIntent.Success });
50
_ = interactionService.
PromptMessageBarAsync
("Success <strong>bar</strong>", "The <strong>command</strong> successfully executed.", new MessageBarInteractionOptions { Intent = MessageIntent.Success, /*EscapeMessageHtml = false*/ });