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)
140
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)
561
var resultTask = interactionService.
PromptInputAsync
(
609
var resultTask = interactionService.
PromptInputAsync
(
1118
var resultTask = interactionService.
PromptInputAsync
("Upload", "Select a file", input);
1182
var resultTask = interactionService.
PromptInputAsync
("Upload", "Select a file", input);
InteractionServiceTests.cs (15)
363
var resultTask = interactionService.
PromptInputAsync
(
400
var resultTask = interactionService.
PromptInputAsync
("Please provide", "please", input);
423
var resultTask = interactionService.
PromptInputAsync
("Please provide", "please", input);
446
var resultTask = interactionService.
PromptInputAsync
("Please provide", "please", input);
467
var resultTask = interactionService.
PromptInputAsync
("Please provide", "please", input);
490
var resultTask = interactionService.
PromptInputAsync
("Please provide", "please", input);
523
var resultTask = interactionService.
PromptInputAsync
("Please provide", "please", input);
1353
var resultTask = interactionService.
PromptInputAsync
("Select file", "please", input);
1382
var resultTask = interactionService.
PromptInputAsync
("Select file", "please", input);
1407
var resultTask = interactionService.
PromptInputAsync
("Select file", "please", input, cancellationToken: cancellationTokenSource.Token);
1426
var resultTask = interactionService.
PromptInputAsync
("Enter text", "please", input);
1450
var resultTask = interactionService.
PromptInputAsync
("Enter text", "please", input);
1473
_ = interactionService.
PromptInputAsync
("Select file", "please", input);
1496
_ = interactionService.
PromptInputAsync
("Select file", "please", input);
1526
_ = interactionService.
PromptInputAsync
("Select file", "please", input);
Publishing\PipelineActivityReporterTests.cs (2)
657
var promptTask = _interactionService.
PromptInputAsync
("Upload", "Select a file", input);
697
var promptTask = _interactionService.
PromptInputAsync
("Upload", "Select a file", input, cancellationToken: cancellationTokenSource.Token);