103 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)
290
Aspire.Hosting.InputType.
Choice
=> Aspire.DashboardService.Proto.V1.InputType.Choice,
304
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)
275
InputType = InputType.
Choice
,
296
InputType = InputType.
Choice
,
317
InputType = InputType.
Choice
,
335
InputType = InputType.
Choice
,
357
InputType = InputType.
Choice
,
678
InputType = useChoiceInput ? InputType.
Choice
: InputType.Text,
Provisioning\Internal\PublishModeProvisioningContextProvider.cs (4)
158
InputType = InputType.
Choice
,
257
InputType = InputType.
Choice
,
351
InputType = InputType.
Choice
,
449
InputType = InputType.
Choice
,
Provisioning\Internal\RunModeProvisioningContextProvider.cs (4)
336
InputType = InputType.
Choice
,
362
InputType = allowSubscriptionEdit ? InputType.
Choice
: InputType.Text,
397
InputType = useTextResourceGroupInput ? InputType.Text : InputType.
Choice
,
438
InputType = InputType.
Choice
,
Aspire.Hosting.Azure.Tests (17)
AzureDeployerTests.cs (4)
61
Assert.Equal(InputType.
Choice
, input.InputType);
78
Assert.Equal(InputType.
Choice
, input.InputType);
96
Assert.Equal(InputType.
Choice
, input.InputType);
114
Assert.Equal(InputType.
Choice
, input.InputType);
AzureEnvironmentResourceExtensionsTests.cs (5)
126
Assert.Equal(InputType.
Choice
, input.InputType);
136
Assert.Equal(InputType.
Choice
, input.InputType);
147
Assert.Equal(InputType.
Choice
, input.InputType);
158
Assert.Equal(InputType.
Choice
, input.InputType);
2966
Assert.Equal(InputType.
Choice
, locationInput.InputType);
ProvisioningContextProviderTests.cs (8)
353
Assert.Equal(InputType.
Choice
, input.InputType);
360
Assert.Equal(InputType.
Choice
, input.InputType);
374
Assert.Equal(InputType.
Choice
, input.InputType);
506
Assert.Equal(InputType.
Choice
, input.InputType);
513
Assert.Equal(InputType.
Choice
, input.InputType);
528
Assert.Equal(InputType.
Choice
, input.InputType);
646
Assert.Equal(InputType.
Choice
, subscriptionInput.InputType);
793
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 (20)
Backchannel\AuxiliaryBackchannelRpcTargetTests.cs (4)
2441
InputType = InputType.
Choice
,
2451
InputType = InputType.
Choice
,
2515
InputType = InputType.
Choice
,
2525
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
,
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)
233
InputType = InputType.
Choice
,
312
InputType = InputType.
Choice
,
350
.Where(i => i.InputType is InputType.Text or InputType.SecretText or InputType.
Choice
)
393
InputType = InputType.
Choice
,
408
InputType = InputType.
Choice
,
460
InputType = InputType.
Choice
,
553
InputType = InputType.
Choice
,
710
InputType = InputType.
Choice
,
756
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
,