106 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)
291
Aspire.Hosting.InputType.
Choice
=> Aspire.DashboardService.Proto.V1.InputType.Choice,
305
Aspire.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)
221
if (input.InputType == InputType.
Choice
)
644
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);
3287
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 (21)
Backchannel\AuxiliaryBackchannelRpcTargetTests.cs (4)
2483
InputType = InputType.
Choice
,
2493
InputType = InputType.
Choice
,
2557
InputType = InputType.
Choice
,
2567
InputType = InputType.
Choice
,
InteractionServiceTests.cs (8)
422
var input = new InteractionInput { Name = "Value", Label = "Value", InputType = InputType.
Choice
, Options = [KeyValuePair.Create("first", "First option!"), KeyValuePair.Create("second", "Second option!")] };
431
inputs: [new InputDto("Value", "not-in-options", InputType.
Choice
)]);
445
var input = new InteractionInput { Name = "Value", Label = "Value", InputType = InputType.
Choice
, AllowCustomChoice = true, Options = [KeyValuePair.Create("first", "First option!"), KeyValuePair.Create("second", "Second option!")] };
454
inputs: [new InputDto("Value", "not-in-options", InputType.
Choice
)]);
913
InputType = InputType.
Choice
,
967
InputType = InputType.
Choice
,
1074
InputType = InputType.
Choice
,
1107
InputType = InputType.
Choice
,
Orchestrator\ParameterProcessorTests.cs (1)
1354
InputType = InputType.
Choice
,
ResourceCommandServiceTests.cs (8)
851
InputType = InputType.
Choice
,
997
InputType = InputType.
Choice
,
1004
InputType = InputType.
Choice
,
1070
InputType = InputType.
Choice
,
1077
InputType = InputType.
Choice
,
1095
InputType = InputType.
Choice
,
1162
InputType = InputType.
Choice
,
1169
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)
76
InputType = InputType.
Choice
,
87
InputType = InputType.
Choice
,
146
InputType = InputType.
Choice
,
159
InputType = InputType.
Choice
,
198
InputType = InputType.
Choice
,
226
InputType = InputType.
Choice
,
304
InputType = InputType.
Choice
,
315
InputType = InputType.
Choice
,
365
InputType = InputType.
Choice
,
377
InputType = InputType.
Choice
,
425
InputType = InputType.
Choice
,
435
InputType = InputType.
Choice
,
504
InputType = InputType.
Choice
,
516
InputType = InputType.
Choice
,
534
InputType = InputType.
Choice
,
687
InputType = InputType.
Choice
,
710
InputType = InputType.
Choice
,
749
InputType = InputType.
Choice
,
780
InputType = InputType.
Choice
,
TestShop.AppHost (2)
AppHost.cs (2)
28
InputType = InputType.
Choice
,
44
InputType = InputType.
Choice
,