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