103 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)
290Aspire.Hosting.InputType.Choice => Aspire.DashboardService.Proto.V1.InputType.Choice, 304Aspire.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)
275InputType = InputType.Choice, 296InputType = InputType.Choice, 317InputType = InputType.Choice, 335InputType = InputType.Choice, 357InputType = InputType.Choice, 678InputType = useChoiceInput ? InputType.Choice : InputType.Text,
Provisioning\Internal\PublishModeProvisioningContextProvider.cs (4)
158InputType = InputType.Choice, 257InputType = InputType.Choice, 351InputType = InputType.Choice, 449InputType = InputType.Choice,
Provisioning\Internal\RunModeProvisioningContextProvider.cs (4)
336InputType = InputType.Choice, 362InputType = allowSubscriptionEdit ? InputType.Choice : InputType.Text, 397InputType = useTextResourceGroupInput ? InputType.Text : InputType.Choice, 438InputType = InputType.Choice,
Aspire.Hosting.Azure.Tests (17)
AzureDeployerTests.cs (4)
61Assert.Equal(InputType.Choice, input.InputType); 78Assert.Equal(InputType.Choice, input.InputType); 96Assert.Equal(InputType.Choice, input.InputType); 114Assert.Equal(InputType.Choice, input.InputType);
AzureEnvironmentResourceExtensionsTests.cs (5)
126Assert.Equal(InputType.Choice, input.InputType); 136Assert.Equal(InputType.Choice, input.InputType); 147Assert.Equal(InputType.Choice, input.InputType); 158Assert.Equal(InputType.Choice, input.InputType); 2966Assert.Equal(InputType.Choice, locationInput.InputType);
ProvisioningContextProviderTests.cs (8)
353Assert.Equal(InputType.Choice, input.InputType); 360Assert.Equal(InputType.Choice, input.InputType); 374Assert.Equal(InputType.Choice, input.InputType); 506Assert.Equal(InputType.Choice, input.InputType); 513Assert.Equal(InputType.Choice, input.InputType); 528Assert.Equal(InputType.Choice, input.InputType); 646Assert.Equal(InputType.Choice, subscriptionInput.InputType); 793Assert.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 (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)
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)
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 (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,