9 references to InputType
aspire (9)
Backchannel\ResourceSnapshotMapper.cs (1)
276return string.Equals(input.InputType, nameof(InputType.SecretText), StringComparison.OrdinalIgnoreCase);
Commands\PipelineCommandBase.cs (8)
1126if (!Enum.TryParse<InputType>(normalizedType, ignoreCase: true, out var inputType)) 1142InputType.Text => await InteractionService.PromptForStringAsync( 1148InputType.SecretText => await InteractionService.PromptForStringAsync( 1155InputType.Choice => await HandleSelectInputAsync(input, promptText, cancellationToken), 1157InputType.Boolean => (await InteractionService.PromptConfirmAsync(promptText, binding: PromptBinding.CreateDefault(ParseBooleanValue(input.Value)), cancellationToken: cancellationToken)).ToString().ToLowerInvariant(), 1159InputType.Number => await HandleNumberInputAsync(input, promptText, cancellationToken), 1161InputType.File => await HandleFileInputAsync(input, promptText, backchannel, interactionId, cancellationToken),