11 references to Choice
Aspire.Hosting (3)
Dashboard\DashboardService.cs (1)
210Aspire.Hosting.InputType.Choice => Aspire.DashboardService.Proto.V1.InputType.Choice,
IInteractionService.cs (1)
133/// Gets or sets the options for the input. Only used by <see cref="InputType.Choice"/> inputs.
InteractionService.cs (1)
274case InputType.Choice:
Aspire.Hosting.Azure (1)
Provisioning\Internal\DefaultProvisioningContextProvider.cs (1)
104new InteractionInput { InputType = InputType.Choice, Label = "Location", Placeholder = "Select location", Required = true, Options = [..locations] },
Aspire.Hosting.Azure.Tests (2)
AzureDeployerTests.cs (1)
85Assert.Equal(InputType.Choice, input.InputType);
DefaultProvisioningContextProviderTests.cs (1)
281Assert.Equal(InputType.Choice, input.InputType);
Aspire.Hosting.Tests (1)
InteractionServiceTests.cs (1)
230var input = new InteractionInput { Label = "Value", InputType = InputType.Choice, Options = [KeyValuePair.Create("first", "First option!"), KeyValuePair.Create("second", "Second option!")] };
Publishers.AppHost (3)
DistributedApplicationBuilderExtensions.cs (3)
54InputType = InputType.Choice, 135InputType = InputType.Choice, 182InputType = InputType.Choice,
Stress.AppHost (1)
InteractionCommands.cs (1)
106InputType = InputType.Choice,