11 writes to Intent
Aspire.Hosting (2)
Ats\InteractionExports.cs (1)
640
Intent
= Intent,
InteractionService.cs (1)
104
options.
Intent
= MessageIntent.Confirmation;
Aspire.Hosting.Azure.Kusto (1)
AzureKustoBuilderExtensions.cs (1)
439
Intent
= MessageIntent.Information,
Aspire.Hosting.DevTunnels (1)
DevTunnelResourceBuilderExtensions.cs (1)
878
Intent
= MessageIntent.None,
Aspire.Hosting.EntityFrameworkCore (1)
EFResourceBuilderExtensions.cs (1)
1095
Intent
= MessageIntent.Information,
Stress.AppHost (6)
InteractionCommands.cs (6)
22
var resultTask2 = interactionService.PromptMessageBoxAsync("Command confirmation", "Are you really sure?", new MessageBoxInteractionOptions {
Intent
= MessageIntent.Warning, ShowSecondaryButton = true }, cancellationToken: commandContext.CancellationToken);
31
_ = interactionService.PromptMessageBoxAsync("Command executed", "The command successfully executed.", new MessageBoxInteractionOptions {
Intent
= MessageIntent.Success, PrimaryButtonText = "Yeah!" });
59
_ = interactionService.PromptMessageBoxAsync("Container runtime unhealthy", message, new MessageBoxInteractionOptions {
Intent
= MessageIntent.Error, EnableMessageMarkdown = true });
71
_ = interactionService.PromptMessageBoxAsync("Success <strong>bar</strong>", "The **command** successfully executed.", new MessageBoxInteractionOptions {
Intent
= MessageIntent.Success });
72
_ = interactionService.PromptMessageBoxAsync("Success <strong>bar</strong>", "The **command** successfully executed.", new MessageBoxInteractionOptions {
Intent
= MessageIntent.Success, EnableMessageMarkdown = true });
73
_ = 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)
132
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)
632
Assert.Equal(MessageIntent.None, options.
Intent
);