45 references to Choice
Aspire.Hosting (7)
Dashboard\DashboardService.cs (2)
230Aspire.Hosting.InputType.Choice => Aspire.DashboardService.Proto.V1.InputType.Choice, 243Aspire.DashboardService.Proto.V1.InputType.Choice => InputType.Choice,
IInteractionService.cs (3)
298/// Gets or sets the options for the input. Only used by <see cref="InputType.Choice"/> inputs. 320/// Gets a value indicating whether a custom choice is allowed. Only used by <see cref="InputType.Choice"/> inputs. 325/// Gets or sets a value indicating whether a custom choice is allowed. Only used by <see cref="InputType.Choice"/> inputs.
InteractionService.cs (2)
176if (input.InputType == InputType.Choice) 405case InputType.Choice:
Aspire.Hosting.Azure (6)
Provisioning\Internal\PublishModeProvisioningContextProvider.cs (3)
163InputType = InputType.Choice, 262InputType = InputType.Choice, 359InputType = InputType.Choice,
Provisioning\Internal\RunModeProvisioningContextProvider.cs (3)
134InputType = InputType.Choice, 161InputType = string.IsNullOrEmpty(_options.SubscriptionId) ? InputType.Choice : InputType.Text, 196InputType = InputType.Choice,
Aspire.Hosting.Azure.Tests (7)
AzureDeployerTests.cs (3)
55Assert.Equal(InputType.Choice, input.InputType); 72Assert.Equal(InputType.Choice, input.InputType); 90Assert.Equal(InputType.Choice, input.InputType);
ProvisioningContextProviderTests.cs (4)
286Assert.Equal(InputType.Choice, input.InputType); 293Assert.Equal(InputType.Choice, input.InputType); 300Assert.Equal(InputType.Choice, input.InputType); 453Assert.Equal(InputType.Choice, input.InputType);
Aspire.Hosting.Tests (8)
InteractionServiceTests.cs (8)
338var input = new InteractionInput { Name = "Value", Label = "Value", InputType = InputType.Choice, Options = [KeyValuePair.Create("first", "First option!"), KeyValuePair.Create("second", "Second option!")] }; 347inputs: [new InputDto("Value", "not-in-options", InputType.Choice)]); 361var input = new InteractionInput { Name = "Value", Label = "Value", InputType = InputType.Choice, AllowCustomChoice = true, Options = [KeyValuePair.Create("first", "First option!"), KeyValuePair.Create("second", "Second option!")] }; 370inputs: [new InputDto("Value", "not-in-options", InputType.Choice)]); 829InputType = InputType.Choice, 883InputType = InputType.Choice, 990InputType = InputType.Choice, 1023InputType = InputType.Choice,
Publishers.AppHost (4)
DistributedApplicationBuilderExtensions.cs (4)
66InputType = InputType.Choice, 79InputType = InputType.Choice, 172InputType = InputType.Choice, 222InputType = InputType.Choice,
Stress.AppHost (13)
InteractionCommands.cs (13)
74InputType = InputType.Choice, 85InputType = InputType.Choice, 144InputType = InputType.Choice, 157InputType = InputType.Choice, 196InputType = InputType.Choice, 224InputType = InputType.Choice, 282InputType = InputType.Choice, 294InputType = InputType.Choice, 342InputType = InputType.Choice, 352InputType = InputType.Choice, 421InputType = InputType.Choice, 433InputType = InputType.Choice, 451InputType = InputType.Choice,