6 instantiations of InteractionInput
Aspire.Hosting (1)
ApplicationModel\InteractionService.cs (1)
105return await PromptInputAsync(title, message, new InteractionInput { InputType = InputType.Text, Label = inputLabel, Required = true, Placeholder = placeHolder }, options, cancellationToken).ConfigureAwait(false);
Stress.AppHost (5)
Program.cs (5)
193new InteractionInput { InputType = InputType.Text, Label = "Name", Placeholder = "Enter name", Required = true }, 194new InteractionInput { InputType = InputType.Password, Label = "Password", Placeholder = "Enter password", Required = true }, 195new InteractionInput { InputType = InputType.Select, Label = "Dinner", Placeholder = "Select dinner", Required = true, Options = 214new InteractionInput { InputType = InputType.Number, Label = "Number of people", Placeholder = "Enter number of people", Value = "2", Required = true }, 215new InteractionInput { InputType = InputType.Checkbox, Label = "Remember me", Placeholder = "What does this do?", Required = true },
17 references to InteractionInput
Aspire.Hosting (14)
ApplicationModel\InteractionService.cs (13)
103public async Task<InteractionResult<InteractionInput>> PromptInputAsync(string title, string? message, string inputLabel, string placeHolder, InputsDialogInteractionOptions? options = null, CancellationToken cancellationToken = default) 109/// Prompts the user for a single input using a specified <see cref="InteractionInput"/>. 119public async Task<InteractionResult<InteractionInput>> PromptInputAsync(string title, string? message, InteractionInput input, InputsDialogInteractionOptions? options = null, CancellationToken cancellationToken = default) 124return InteractionResultFactory.Cancel<InteractionInput>(); 135/// <param name="inputs">A collection of <see cref="InteractionInput"/> to prompt for.</param> 141public async Task<InteractionResult<IReadOnlyList<InteractionInput>>> PromptInputsAsync(string title, string? message, IEnumerable<InteractionInput> inputs, InputsDialogInteractionOptions? options = null, CancellationToken cancellationToken = default) 155? InteractionResultFactory.Cancel<IReadOnlyList<InteractionInput>>() 156: InteractionResultFactory.Ok((IReadOnlyList<InteractionInput>)completion.State!); 381/// Specifies the type of input for an <see cref="InteractionInput"/>. 575public InputsInteractionInfo(List<InteractionInput> inputs) 580public List<InteractionInput> Inputs { get; }
Dashboard\DashboardServiceData.cs (1)
167var modelInput = inputsInfo.Inputs[i];
Stress.AppHost (3)
Program.cs (3)
183var input = result.Data!; 191var inputs = new List<InteractionInput> 227foreach (var updatedInput in result.Data!)