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)
151return 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)
568var resultTask = interactionService.PromptInputAsync( 768var resultTask = interactionService.PromptInputAsync( 1281var resultTask = interactionService.PromptInputAsync("Upload", "Select a file", input); 1346var resultTask = interactionService.PromptInputAsync("Upload", "Select a file", input);
InteractionServiceTests.cs (15)
467var resultTask = interactionService.PromptInputAsync( 504var resultTask = interactionService.PromptInputAsync("Please provide", "please", input); 527var resultTask = interactionService.PromptInputAsync("Please provide", "please", input); 550var resultTask = interactionService.PromptInputAsync("Please provide", "please", input); 571var resultTask = interactionService.PromptInputAsync("Please provide", "please", input); 594var resultTask = interactionService.PromptInputAsync("Please provide", "please", input); 627var resultTask = interactionService.PromptInputAsync("Please provide", "please", input); 1458var resultTask = interactionService.PromptInputAsync("Select file", "please", input); 1487var resultTask = interactionService.PromptInputAsync("Select file", "please", input); 1512var resultTask = interactionService.PromptInputAsync("Select file", "please", input, cancellationToken: cancellationTokenSource.Token); 1531var resultTask = interactionService.PromptInputAsync("Enter text", "please", input); 1555var 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)
655var promptTask = _interactionService.PromptInputAsync("Upload", "Select a file", input); 695var promptTask = _interactionService.PromptInputAsync("Upload", "Select a file", input, cancellationToken: cancellationTokenSource.Token);