3 implementations of PromptInputAsync
Aspire.Hosting (1)
InteractionService.cs (1)
80
public async Task<InteractionResult<InteractionInput>>
PromptInputAsync
(string title, string? message, InteractionInput input, InputsDialogInteractionOptions? options = null, CancellationToken cancellationToken = default)
Aspire.Hosting.Azure.Tests (1)
tests\Shared\TestInteractionService.cs (1)
28
public Task<InteractionResult<InteractionInput>>
PromptInputAsync
(string title, string? message, InteractionInput input, InputsDialogInteractionOptions? options = null, CancellationToken cancellationToken = default)
Aspire.Hosting.Tests (1)
tests\Shared\TestInteractionService.cs (1)
28
public Task<InteractionResult<InteractionInput>>
PromptInputAsync
(string title, string? message, InteractionInput input, InputsDialogInteractionOptions? options = null, CancellationToken cancellationToken = default)
9 references to PromptInputAsync
Publishers.AppHost (6)
DistributedApplicationBuilderExtensions.cs (6)
96
var envResult = await interactionService.
PromptInputAsync
(
119
var dbPasswordResult = await interactionService.
PromptInputAsync
(
134
var regionResult = await interactionService.
PromptInputAsync
(
155
var enableLoggingResult = await interactionService.
PromptInputAsync
(
169
var instanceCountResult = await interactionService.
PromptInputAsync
(
184
var deployModeResult = await interactionService.
PromptInputAsync
(
Stress.AppHost (3)
InteractionCommands.cs (3)
60
_ = await interactionService.
PromptInputAsync
("Text <strong>request</strong>", "Provide **your** name. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce id massa arcu. Morbi ac risus eget augue venenatis hendrerit. Morbi posuere, neque id efficitur ultrices, velit augue suscipit ante, vitae lacinia elit risus nec dui. For more information about the `IInteractionService`, see https://learn.microsoft.com.", inputNoMarkdown);
61
_ = await interactionService.
PromptInputAsync
("Text <strong>request</strong>", "Provide **your** name. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce id massa arcu. Morbi ac risus eget augue venenatis hendrerit. Morbi posuere, neque id efficitur ultrices, velit augue suscipit ante, vitae lacinia elit risus nec dui. For more information about the `IInteractionService`, see https://learn.microsoft.com.", inputHasMarkdown, new InputsDialogInteractionOptions { EnableMessageMarkdown = true });
62
_ = await interactionService.
PromptInputAsync
("Text <strong>request</strong>", "Provide **your** name.\r\n\r\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce id massa arcu. Morbi ac risus eget augue venenatis hendrerit. Morbi posuere, neque id efficitur ultrices, velit augue suscipit ante, vitae lacinia elit risus nec dui.\r\n\r\nFor more information about the `IInteractionService`, see https://learn.microsoft.com.", inputHasMarkdown, new InputsDialogInteractionOptions { EnableMessageMarkdown = true });