101 references to Choice
Aspire.Hosting (8)
ApplicationModel\ResourceCommandService.cs (1)
628case InputType.Choice:
Ats\InteractionExports.cs (1)
227var builder = InteractionInputBuilder.Create(name, InputType.Choice, options);
Dashboard\DashboardService.cs (2)
267Aspire.Hosting.InputType.Choice => Aspire.DashboardService.Proto.V1.InputType.Choice, 281Aspire.DashboardService.Proto.V1.InputType.Choice => InputType.Choice,
IInteractionService.cs (2)
348/// Gets or sets the options for the input. Only used by <see cref="InputType.Choice"/> inputs. 379/// Gets a value indicating whether a custom choice is allowed. Only used by <see cref="InputType.Choice"/> inputs.
InteractionService.cs (2)
217if (input.InputType == InputType.Choice) 601case InputType.Choice:
Aspire.Hosting.Azure (14)
AzureProvisioningController.cs (6)
278InputType = InputType.Choice, 299InputType = InputType.Choice, 320InputType = InputType.Choice, 338InputType = InputType.Choice, 360InputType = InputType.Choice, 681InputType = useChoiceInput ? InputType.Choice : InputType.Text,
Provisioning\Internal\PublishModeProvisioningContextProvider.cs (4)
161InputType = InputType.Choice, 260InputType = InputType.Choice, 354InputType = InputType.Choice, 452InputType = InputType.Choice,
Provisioning\Internal\RunModeProvisioningContextProvider.cs (4)
338InputType = InputType.Choice, 364InputType = allowSubscriptionEdit ? InputType.Choice : InputType.Text, 399InputType = useTextResourceGroupInput ? InputType.Text : InputType.Choice, 440InputType = InputType.Choice,
Aspire.Hosting.Azure.Tests (17)
AzureDeployerTests.cs (4)
64Assert.Equal(InputType.Choice, input.InputType); 81Assert.Equal(InputType.Choice, input.InputType); 99Assert.Equal(InputType.Choice, input.InputType); 117Assert.Equal(InputType.Choice, input.InputType);
AzureEnvironmentResourceExtensionsTests.cs (5)
129Assert.Equal(InputType.Choice, input.InputType); 139Assert.Equal(InputType.Choice, input.InputType); 150Assert.Equal(InputType.Choice, input.InputType); 161Assert.Equal(InputType.Choice, input.InputType); 2969Assert.Equal(InputType.Choice, locationInput.InputType);
ProvisioningContextProviderTests.cs (8)
356Assert.Equal(InputType.Choice, input.InputType); 363Assert.Equal(InputType.Choice, input.InputType); 377Assert.Equal(InputType.Choice, input.InputType); 509Assert.Equal(InputType.Choice, input.InputType); 516Assert.Equal(InputType.Choice, input.InputType); 531Assert.Equal(InputType.Choice, input.InputType); 649Assert.Equal(InputType.Choice, subscriptionInput.InputType); 796Assert.Equal(InputType.Choice, subscriptionInput.InputType);
Aspire.Hosting.Browsers (4)
BrowserLogsConfigurationManager.cs (4)
49InputType = InputType.Choice, 64InputType = InputType.Choice, 84InputType = InputType.Choice, 108InputType = InputType.Choice,
Aspire.Hosting.Browsers.Tests (8)
BrowserLogsBuilderExtensionsTests.cs (4)
1737new InteractionInput { Name = "scope", InputType = InputType.Choice, Value = scope }, 1738new InteractionInput { Name = "browser", InputType = InputType.Choice, Value = browser }, 1739new InteractionInput { Name = "userDataMode", InputType = InputType.Choice, Value = userDataMode }, 1740new InteractionInput { Name = "profile", InputType = InputType.Choice, Value = profile },
src\Aspire.Hosting.Browsers\BrowserLogsConfigurationManager.cs (4)
49InputType = InputType.Choice, 64InputType = InputType.Choice, 84InputType = InputType.Choice, 108InputType = InputType.Choice,
Aspire.Hosting.Tests (20)
Backchannel\AuxiliaryBackchannelRpcTargetTests.cs (4)
2441InputType = InputType.Choice, 2451InputType = InputType.Choice, 2515InputType = InputType.Choice, 2525InputType = InputType.Choice,
InteractionServiceTests.cs (8)
422var input = new InteractionInput { Name = "Value", Label = "Value", InputType = InputType.Choice, Options = [KeyValuePair.Create("first", "First option!"), KeyValuePair.Create("second", "Second option!")] }; 431inputs: [new InputDto("Value", "not-in-options", InputType.Choice)]); 445var input = new InteractionInput { Name = "Value", Label = "Value", InputType = InputType.Choice, AllowCustomChoice = true, Options = [KeyValuePair.Create("first", "First option!"), KeyValuePair.Create("second", "Second option!")] }; 454inputs: [new InputDto("Value", "not-in-options", InputType.Choice)]); 913InputType = InputType.Choice, 967InputType = InputType.Choice, 1074InputType = InputType.Choice, 1107InputType = InputType.Choice,
ResourceCommandServiceTests.cs (8)
850InputType = InputType.Choice, 996InputType = InputType.Choice, 1003InputType = InputType.Choice, 1069InputType = InputType.Choice, 1076InputType = InputType.Choice, 1094InputType = InputType.Choice, 1161InputType = InputType.Choice, 1168InputType = InputType.Choice,
Publishers.AppHost (4)
DistributedApplicationBuilderExtensions.cs (4)
66InputType = InputType.Choice, 79InputType = InputType.Choice, 190InputType = InputType.Choice, 240InputType = InputType.Choice,
Stress.AppHost (26)
CommandResources.cs (9)
233InputType = InputType.Choice, 312InputType = InputType.Choice, 350.Where(i => i.InputType is InputType.Text or InputType.SecretText or InputType.Choice) 393InputType = InputType.Choice, 408InputType = InputType.Choice, 460InputType = InputType.Choice, 553InputType = InputType.Choice, 710InputType = InputType.Choice, 756InputType = InputType.Choice,
InteractionCommands.cs (17)
76InputType = InputType.Choice, 87InputType = InputType.Choice, 146InputType = InputType.Choice, 159InputType = InputType.Choice, 198InputType = InputType.Choice, 226InputType = InputType.Choice, 284InputType = InputType.Choice, 296InputType = InputType.Choice, 344InputType = InputType.Choice, 354InputType = InputType.Choice, 423InputType = InputType.Choice, 435InputType = InputType.Choice, 453InputType = InputType.Choice, 606InputType = InputType.Choice, 629InputType = InputType.Choice, 668InputType = InputType.Choice, 699InputType = InputType.Choice,