Implemented interface member:
method
PromptInputAsync
Aspire.Hosting.IInteractionService.PromptInputAsync(System.String, System.String, Aspire.Hosting.InteractionInput, Aspire.Hosting.InputsDialogInteractionOptions, System.Threading.CancellationToken)
22 references to PromptInputAsync
Aspire.Hosting (1)
InteractionService.cs (1)
151
return await
PromptInputAsync
(title, message, new InteractionInput { Name = InteractionHelpers.LabelToName(inputLabel), InputType = InputType.Text, Label = inputLabel, Required = true, Placeholder = placeHolder }, options, cancellationToken).ConfigureAwait(false);
Aspire.Hosting.Tests (21)
Dashboard\DashboardServiceTests.cs (4)
568
var resultTask = interactionService.
PromptInputAsync
(
768
var resultTask = interactionService.
PromptInputAsync
(
1281
var resultTask = interactionService.
PromptInputAsync
("Upload", "Select a file", input);
1346
var resultTask = interactionService.
PromptInputAsync
("Upload", "Select a file", input);
InteractionServiceTests.cs (15)
467
var resultTask = interactionService.
PromptInputAsync
(
504
var resultTask = interactionService.
PromptInputAsync
("Please provide", "please", input);
527
var resultTask = interactionService.
PromptInputAsync
("Please provide", "please", input);
550
var resultTask = interactionService.
PromptInputAsync
("Please provide", "please", input);
571
var resultTask = interactionService.
PromptInputAsync
("Please provide", "please", input);
594
var resultTask = interactionService.
PromptInputAsync
("Please provide", "please", input);
627
var resultTask = interactionService.
PromptInputAsync
("Please provide", "please", input);
1458
var resultTask = interactionService.
PromptInputAsync
("Select file", "please", input);
1487
var resultTask = interactionService.
PromptInputAsync
("Select file", "please", input);
1512
var resultTask = interactionService.
PromptInputAsync
("Select file", "please", input, cancellationToken: cancellationTokenSource.Token);
1531
var resultTask = interactionService.
PromptInputAsync
("Enter text", "please", input);
1555
var resultTask = interactionService.
PromptInputAsync
("Enter text", "please", input);
1578
_ = interactionService.
PromptInputAsync
("Select file", "please", input);
1601
_ = interactionService.
PromptInputAsync
("Select file", "please", input);
1631
_ = interactionService.
PromptInputAsync
("Select file", "please", input);
Publishing\PipelineActivityReporterTests.cs (2)
655
var promptTask = _interactionService.
PromptInputAsync
("Upload", "Select a file", input);
695
var promptTask = _interactionService.
PromptInputAsync
("Upload", "Select a file", input, cancellationToken: cancellationTokenSource.Token);