10 writes to Intent
Aspire.Hosting (1)
Orchestrator\ParameterProcessor.cs (1)
135
Intent
= MessageIntent.Warning,
Stress.AppHost (9)
InteractionCommands.cs (9)
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 **command** successfully executed.", new MessageBarInteractionOptions {
Intent
= MessageIntent.Success });
50
_ = interactionService.PromptMessageBarAsync("Success <strong>bar</strong>", "The **command** successfully executed.", new MessageBarInteractionOptions {
Intent
= MessageIntent.Success, EnableMessageMarkdown = true });
51
_ = interactionService.PromptMessageBarAsync("Success <strong>bar</strong>", "Multiline 1\r\n\r\nMultiline 2", new MessageBarInteractionOptions {
Intent
= MessageIntent.Success, EnableMessageMarkdown = true });
1 reference to Intent
Aspire.Hosting (1)
InteractionService.cs (1)
118
var newState = new Interaction(title, message, options, new Interaction.MessageBarInteractionInfo(intent: options.
Intent
?? MessageIntent.None, linkText: options.LinkText, linkUrl: options.LinkUrl), cancellationToken);