15 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 (4)
Provisioning\Internal\PublishModeProvisioningContextProvider.cs (3)
167InputType = InputType.Choice, 284InputType = InputType.Choice, 335InputType = InputType.Choice,
Provisioning\Internal\RunModeProvisioningContextProvider.cs (1)
136new InteractionInput { Name = LocationName, InputType = InputType.Choice, Label = AzureProvisioningStrings.LocationLabel, Placeholder = AzureProvisioningStrings.LocationPlaceholder, Required = true, Options = [..locations] },
Aspire.Hosting.Azure.Tests (3)
AzureDeployerTests.cs (2)
78Assert.Equal(InputType.Choice, input.InputType); 96Assert.Equal(InputType.Choice, input.InputType);
ProvisioningContextProviderTests.cs (1)
284Assert.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,