10 writes to Intent
Aspire.Hosting (2)
Ats\InteractionExports.cs (1)
640
Intent
= Intent,
InteractionService.cs (1)
93
options.
Intent
= MessageIntent.Confirmation;
Aspire.Hosting.Azure.Kusto (1)
AzureKustoBuilderExtensions.cs (1)
418
Intent
= MessageIntent.Information,
Aspire.Hosting.DevTunnels (1)
DevTunnelResourceBuilderExtensions.cs (1)
823
Intent
= MessageIntent.None,
Aspire.Hosting.EntityFrameworkCore (1)
EFResourceBuilderExtensions.cs (1)
1016
Intent
= MessageIntent.Information,
Stress.AppHost (5)
InteractionCommands.cs (5)
21
var resultTask2 = interactionService.PromptMessageBoxAsync("Command confirmation", "Are you really sure?", new MessageBoxInteractionOptions {
Intent
= MessageIntent.Warning, ShowSecondaryButton = true }, cancellationToken: commandContext.CancellationToken);
30
_ = interactionService.PromptMessageBoxAsync("Command executed", "The command successfully executed.", new MessageBoxInteractionOptions {
Intent
= MessageIntent.Success, PrimaryButtonText = "Yeah!" });
55
_ = interactionService.PromptMessageBoxAsync("Success <strong>bar</strong>", "The **command** successfully executed.", new MessageBoxInteractionOptions {
Intent
= MessageIntent.Success });
56
_ = interactionService.PromptMessageBoxAsync("Success <strong>bar</strong>", "The **command** successfully executed.", new MessageBoxInteractionOptions {
Intent
= MessageIntent.Success, EnableMessageMarkdown = true });
57
_ = interactionService.PromptMessageBoxAsync("Success <strong>bar</strong>", "Multiline 1\r\n\r\nMultiline 2", new MessageBoxInteractionOptions {
Intent
= MessageIntent.Success, EnableMessageMarkdown = true });
2 references to Intent
Aspire.Hosting (1)
InteractionService.cs (1)
121
var newState = new Interaction(title, message, options, new Interaction.MessageBoxInteractionInfo(intent: options.
Intent
?? MessageIntent.None), interactionCts.Token);
Aspire.Hosting.DevTunnels.Tests (1)
DevTunnelResourceBuilderExtensionsTests.cs (1)
491
Assert.Equal(MessageIntent.None, options.
Intent
);