11 references to Choice
Aspire.Hosting (3)
Dashboard\DashboardService.cs (1)
210Aspire.Hosting.InputType.Choice => Aspire.DashboardService.Proto.V1.InputType.Choice,
IInteractionService.cs (1)
142/// Gets or sets the options for the input. Only used by <see cref="InputType.Choice"/> inputs.
InteractionService.cs (1)
277case InputType.Choice:
Aspire.Hosting.Azure (1)
Provisioning\Internal\DefaultProvisioningContextProvider.cs (1)
108new InteractionInput { Name = LocationName, InputType = InputType.Choice, Label = AzureProvisioningStrings.LocationLabel, Placeholder = AzureProvisioningStrings.LocationPlaceholder, Required = true, Options = [..locations] },
Aspire.Hosting.Azure.Tests (2)
AzureDeployerTests.cs (1)
87Assert.Equal(InputType.Choice, input.InputType);
DefaultProvisioningContextProviderTests.cs (1)
298Assert.Equal(InputType.Choice, input.InputType);
Aspire.Hosting.Tests (1)
InteractionServiceTests.cs (1)
230var input = new InteractionInput { Name = "Value", Label = "Value", InputType = InputType.Choice, Options = [KeyValuePair.Create("first", "First option!"), KeyValuePair.Create("second", "Second option!")] };
Publishers.AppHost (3)
DistributedApplicationBuilderExtensions.cs (3)
57InputType = InputType.Choice, 141InputType = InputType.Choice, 191InputType = InputType.Choice,
Stress.AppHost (1)
InteractionCommands.cs (1)
107InputType = InputType.Choice,