3 implementations of PromptInputAsync
Aspire.Hosting (1)
InteractionService.cs (1)
111
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 async 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 async 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)
127
var envResult = await interactionService.
PromptInputAsync
(
150
var dbPasswordResult = await interactionService.
PromptInputAsync
(
165
var regionResult = await interactionService.
PromptInputAsync
(
186
var enableLoggingResult = await interactionService.
PromptInputAsync
(
200
var instanceCountResult = await interactionService.
PromptInputAsync
(
215
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 });