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