8 references to InputType
aspire (8)
Commands\PipelineCommandBase.cs (8)
719if (!Enum.TryParse<InputType>(input.InputType, ignoreCase: true, out var inputType)) 722inputType = InputType.Text; 736InputType.Text => await InteractionService.PromptForStringAsync( 742InputType.SecretText => await InteractionService.PromptForStringAsync( 749InputType.Choice => await HandleSelectInputAsync(input, promptText, cancellationToken), 751InputType.Boolean => (await InteractionService.ConfirmAsync(promptText, defaultValue: ParseBooleanValue(input.Value), cancellationToken: cancellationToken)).ToString().ToLowerInvariant(), 753InputType.Number => await HandleNumberInputAsync(input, promptText, cancellationToken),