12 instantiations of MessageBarInteractionOptions
Aspire.Hosting (3)
IInteractionService.cs (1)
247internal static MessageBarInteractionOptions CreateDefault() => new();
Orchestrator\ParameterProcessor.cs (1)
133new MessageBarInteractionOptions
VersionChecking\VersionCheckService.cs (1)
130options: new MessageBarInteractionOptions
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 });
5 references to MessageBarInteractionOptions
Aspire.Hosting (4)
IInteractionService.cs (2)
97Task<InteractionResult<bool>> PromptMessageBarAsync(string title, string message, MessageBarInteractionOptions? options = null, CancellationToken cancellationToken = default); 247internal static MessageBarInteractionOptions CreateDefault() => new();
InteractionService.cs (2)
110public async Task<InteractionResult<bool>> PromptMessageBarAsync(string title, string message, MessageBarInteractionOptions? options = null, CancellationToken cancellationToken = default) 116options ??= MessageBarInteractionOptions.CreateDefault();
Aspire.Hosting.Tests (1)
TestInteractionService.cs (1)
40public async Task<InteractionResult<bool>> PromptMessageBarAsync(string title, string message, MessageBarInteractionOptions? options = null, CancellationToken cancellationToken = default)