106 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)
291Aspire.Hosting.InputType.Choice => Aspire.DashboardService.Proto.V1.InputType.Choice, 305Aspire.DashboardService.Proto.V1.InputType.Choice => InputType.Choice,
IInteractionService.cs (2)
411/// Gets or sets the options for the input. Only used by <see cref="InputType.Choice"/> inputs. 442/// Gets a value indicating whether a custom choice is allowed. Only used by <see cref="InputType.Choice"/> inputs.
InteractionService.cs (2)
221if (input.InputType == InputType.Choice) 644case 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); 3287Assert.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 (21)
Backchannel\AuxiliaryBackchannelRpcTargetTests.cs (4)
2483InputType = InputType.Choice, 2493InputType = InputType.Choice, 2557InputType = InputType.Choice, 2567InputType = 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,
Orchestrator\ParameterProcessorTests.cs (1)
1354InputType = InputType.Choice,
ResourceCommandServiceTests.cs (8)
851InputType = InputType.Choice, 997InputType = InputType.Choice, 1004InputType = InputType.Choice, 1070InputType = InputType.Choice, 1077InputType = InputType.Choice, 1095InputType = InputType.Choice, 1162InputType = InputType.Choice, 1169InputType = 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)
76InputType = InputType.Choice, 87InputType = InputType.Choice, 146InputType = InputType.Choice, 159InputType = InputType.Choice, 198InputType = InputType.Choice, 226InputType = InputType.Choice, 304InputType = InputType.Choice, 315InputType = InputType.Choice, 365InputType = InputType.Choice, 377InputType = InputType.Choice, 425InputType = InputType.Choice, 435InputType = InputType.Choice, 504InputType = InputType.Choice, 516InputType = InputType.Choice, 534InputType = InputType.Choice, 687InputType = InputType.Choice, 710InputType = InputType.Choice, 749InputType = InputType.Choice, 780InputType = InputType.Choice,
TestShop.AppHost (2)
AppHost.cs (2)
28InputType = InputType.Choice, 44InputType = InputType.Choice,