10 references to InputType
aspire (10)
Backchannel\ResourceSnapshotMapper.cs (1)
283return string.Equals(input.InputType, nameof(InputType.SecretText), StringComparison.OrdinalIgnoreCase);
Commands\PipelineCommandBase.cs (8)
1196if (!Enum.TryParse<InputType>(normalizedType, ignoreCase: true, out var inputType)) 1212InputType.Text => await InteractionService.PromptForStringAsync( 1218InputType.SecretText => await InteractionService.PromptForStringAsync( 1225InputType.Choice => await HandleSelectInputAsync(input, promptText, cancellationToken), 1227InputType.Boolean => (await InteractionService.PromptConfirmAsync(promptText, binding: PromptBinding.CreateDefault(ParseBooleanValue(input.Value)), cancellationToken: cancellationToken)).ToString().ToLowerInvariant(), 1229InputType.Number => await HandleNumberInputAsync(input, promptText, cancellationToken), 1231InputType.File => await HandleFileInputAsync(input, promptText, backchannel, interactionId, cancellationToken),
Mcp\Tools\ListResourcesTool.cs (1)
325Options = string.Equals(input.InputType, nameof(InputType.Choice), StringComparison.OrdinalIgnoreCase)