110 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)
295Aspire.Hosting.InputType.Choice => Aspire.DashboardService.Proto.V1.InputType.Choice, 309Aspire.DashboardService.Proto.V1.InputType.Choice => InputType.Choice,
IInteractionService.cs (2)
421/// Gets or sets the options for the input. Only used by <see cref="InputType.Choice"/> inputs. 452/// Gets a value indicating whether a custom choice is allowed. Only used by <see cref="InputType.Choice"/> inputs.
InteractionService.cs (2)
228if (input.InputType == InputType.Choice) 651case InputType.Choice:
Aspire.Hosting.Azure (14)
AzureProvisioningController.cs (6)
277InputType = InputType.Choice, 298InputType = InputType.Choice, 319InputType = InputType.Choice, 337InputType = InputType.Choice, 382InputType = InputType.Choice, 704InputType = useChoiceInput ? InputType.Choice : InputType.Text,
Provisioning\Internal\PublishModeProvisioningContextProvider.cs (4)
192InputType = InputType.Choice, 291InputType = InputType.Choice, 385InputType = InputType.Choice, 483InputType = InputType.Choice,
Provisioning\Internal\RunModeProvisioningContextProvider.cs (4)
349InputType = InputType.Choice, 375InputType = allowSubscriptionEdit ? InputType.Choice : InputType.Text, 410InputType = useTextResourceGroupInput ? InputType.Text : InputType.Choice, 451InputType = InputType.Choice,
Aspire.Hosting.Azure.Tests (17)
AzureDeployerTests.cs (4)
250Assert.Equal(InputType.Choice, input.InputType); 267Assert.Equal(InputType.Choice, input.InputType); 285Assert.Equal(InputType.Choice, input.InputType); 303Assert.Equal(InputType.Choice, input.InputType);
AzureEnvironmentResourceExtensionsTests.cs (5)
425Assert.Equal(InputType.Choice, input.InputType); 435Assert.Equal(InputType.Choice, input.InputType); 446Assert.Equal(InputType.Choice, input.InputType); 457Assert.Equal(InputType.Choice, input.InputType); 3312Assert.Equal(InputType.Choice, locationInput.InputType);
ProvisioningContextProviderTests.cs (8)
554Assert.Equal(InputType.Choice, input.InputType); 561Assert.Equal(InputType.Choice, input.InputType); 575Assert.Equal(InputType.Choice, input.InputType); 709Assert.Equal(InputType.Choice, input.InputType); 716Assert.Equal(InputType.Choice, input.InputType); 731Assert.Equal(InputType.Choice, input.InputType); 851Assert.Equal(InputType.Choice, subscriptionInput.InputType); 1001Assert.Equal(InputType.Choice, subscriptionInput.InputType);
Aspire.Hosting.Browsers (4)
BrowserLogsConfigurationManager.cs (4)
48InputType = InputType.Choice, 63InputType = InputType.Choice, 83InputType = InputType.Choice, 107InputType = InputType.Choice,
Aspire.Hosting.Browsers.Tests (8)
BrowserLogsBuilderExtensionsTests.cs (4)
1736new InteractionInput { Name = "scope", InputType = InputType.Choice, Value = scope }, 1737new InteractionInput { Name = "browser", InputType = InputType.Choice, Value = browser }, 1738new InteractionInput { Name = "userDataMode", InputType = InputType.Choice, Value = userDataMode }, 1739new InteractionInput { Name = "profile", InputType = InputType.Choice, Value = profile },
src\Aspire.Hosting.Browsers\BrowserLogsConfigurationManager.cs (4)
48InputType = InputType.Choice, 63InputType = InputType.Choice, 83InputType = InputType.Choice, 107InputType = InputType.Choice,
Aspire.Hosting.Tests (25)
Backchannel\AuxiliaryBackchannelRpcTargetTests.cs (4)
2488InputType = InputType.Choice, 2498InputType = InputType.Choice, 2562InputType = InputType.Choice, 2572InputType = InputType.Choice,
InteractionServiceTests.cs (8)
526var input = new InteractionInput { Name = "Value", Label = "Value", InputType = InputType.Choice, Options = [KeyValuePair.Create("first", "First option!"), KeyValuePair.Create("second", "Second option!")] }; 535inputs: [new InputDto("Value", "not-in-options", InputType.Choice)]); 549var input = new InteractionInput { Name = "Value", Label = "Value", InputType = InputType.Choice, AllowCustomChoice = true, Options = [KeyValuePair.Create("first", "First option!"), KeyValuePair.Create("second", "Second option!")] }; 558inputs: [new InputDto("Value", "not-in-options", InputType.Choice)]); 1017InputType = InputType.Choice, 1071InputType = InputType.Choice, 1178InputType = InputType.Choice, 1211InputType = InputType.Choice,
Orchestrator\ParameterProcessorTests.cs (5)
1354InputType = InputType.Choice, 1401InputType = InputType.Choice, 1435InputType = InputType.Choice, 1495InputType = InputType.Choice, 1530InputType = InputType.Choice,
ResourceCommandServiceTests.cs (8)
852InputType = InputType.Choice, 998InputType = InputType.Choice, 1005InputType = InputType.Choice, 1071InputType = InputType.Choice, 1078InputType = InputType.Choice, 1096InputType = InputType.Choice, 1163InputType = InputType.Choice, 1170InputType = InputType.Choice,
Publishers.AppHost (4)
DistributedApplicationBuilderExtensions.cs (4)
64InputType = InputType.Choice, 77InputType = InputType.Choice, 188InputType = InputType.Choice, 238InputType = InputType.Choice,
Stress.AppHost (28)
CommandResources.cs (9)
234InputType = InputType.Choice, 313InputType = InputType.Choice, 351.Where(i => i.InputType is InputType.Text or InputType.SecretText or InputType.Choice) 394InputType = InputType.Choice, 409InputType = InputType.Choice, 461InputType = InputType.Choice, 554InputType = InputType.Choice, 711InputType = InputType.Choice, 757InputType = InputType.Choice,
InteractionCommands.cs (19)
92InputType = InputType.Choice, 103InputType = InputType.Choice, 162InputType = InputType.Choice, 175InputType = InputType.Choice, 214InputType = InputType.Choice, 242InputType = InputType.Choice, 320InputType = InputType.Choice, 331InputType = InputType.Choice, 381InputType = InputType.Choice, 393InputType = InputType.Choice, 441InputType = InputType.Choice, 451InputType = InputType.Choice, 520InputType = InputType.Choice, 532InputType = InputType.Choice, 550InputType = InputType.Choice, 703InputType = InputType.Choice, 726InputType = InputType.Choice, 765InputType = InputType.Choice, 796InputType = InputType.Choice,
TestShop.AppHost (2)
AppHost.cs (2)
28InputType = InputType.Choice, 44InputType = InputType.Choice,