101 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)
267
Aspire.Hosting.InputType.
Choice
=> Aspire.DashboardService.Proto.V1.InputType.Choice,
281
Aspire.DashboardService.Proto.V1.InputType.Choice => InputType.
Choice
,
IInteractionService.cs (2)
348
/// Gets or sets the options for the input. Only used by <see cref="InputType.
Choice
"/> inputs.
379
/// Gets a value indicating whether a custom choice is allowed. Only used by <see cref="InputType.
Choice
"/> inputs.
InteractionService.cs (2)
217
if (input.InputType == InputType.
Choice
)
601
case InputType.
Choice
:
Aspire.Hosting.Azure (14)
AzureProvisioningController.cs (6)
278
InputType = InputType.
Choice
,
299
InputType = InputType.
Choice
,
320
InputType = InputType.
Choice
,
338
InputType = InputType.
Choice
,
360
InputType = InputType.
Choice
,
681
InputType = useChoiceInput ? InputType.
Choice
: InputType.Text,
Provisioning\Internal\PublishModeProvisioningContextProvider.cs (4)
161
InputType = InputType.
Choice
,
260
InputType = InputType.
Choice
,
354
InputType = InputType.
Choice
,
452
InputType = InputType.
Choice
,
Provisioning\Internal\RunModeProvisioningContextProvider.cs (4)
338
InputType = InputType.
Choice
,
364
InputType = allowSubscriptionEdit ? InputType.
Choice
: InputType.Text,
399
InputType = useTextResourceGroupInput ? InputType.Text : InputType.
Choice
,
440
InputType = InputType.
Choice
,
Aspire.Hosting.Azure.Tests (17)
AzureDeployerTests.cs (4)
64
Assert.Equal(InputType.
Choice
, input.InputType);
81
Assert.Equal(InputType.
Choice
, input.InputType);
99
Assert.Equal(InputType.
Choice
, input.InputType);
117
Assert.Equal(InputType.
Choice
, input.InputType);
AzureEnvironmentResourceExtensionsTests.cs (5)
129
Assert.Equal(InputType.
Choice
, input.InputType);
139
Assert.Equal(InputType.
Choice
, input.InputType);
150
Assert.Equal(InputType.
Choice
, input.InputType);
161
Assert.Equal(InputType.
Choice
, input.InputType);
2969
Assert.Equal(InputType.
Choice
, locationInput.InputType);
ProvisioningContextProviderTests.cs (8)
356
Assert.Equal(InputType.
Choice
, input.InputType);
363
Assert.Equal(InputType.
Choice
, input.InputType);
377
Assert.Equal(InputType.
Choice
, input.InputType);
509
Assert.Equal(InputType.
Choice
, input.InputType);
516
Assert.Equal(InputType.
Choice
, input.InputType);
531
Assert.Equal(InputType.
Choice
, input.InputType);
649
Assert.Equal(InputType.
Choice
, subscriptionInput.InputType);
796
Assert.Equal(InputType.
Choice
, subscriptionInput.InputType);
Aspire.Hosting.Browsers (4)
BrowserLogsConfigurationManager.cs (4)
49
InputType = InputType.
Choice
,
64
InputType = InputType.
Choice
,
84
InputType = InputType.
Choice
,
108
InputType = InputType.
Choice
,
Aspire.Hosting.Browsers.Tests (8)
BrowserLogsBuilderExtensionsTests.cs (4)
1737
new InteractionInput { Name = "scope", InputType = InputType.
Choice
, Value = scope },
1738
new InteractionInput { Name = "browser", InputType = InputType.
Choice
, Value = browser },
1739
new InteractionInput { Name = "userDataMode", InputType = InputType.
Choice
, Value = userDataMode },
1740
new InteractionInput { Name = "profile", InputType = InputType.
Choice
, Value = profile },
src\Aspire.Hosting.Browsers\BrowserLogsConfigurationManager.cs (4)
49
InputType = InputType.
Choice
,
64
InputType = InputType.
Choice
,
84
InputType = InputType.
Choice
,
108
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)
850
InputType = InputType.
Choice
,
996
InputType = InputType.
Choice
,
1003
InputType = InputType.
Choice
,
1069
InputType = InputType.
Choice
,
1076
InputType = InputType.
Choice
,
1094
InputType = InputType.
Choice
,
1161
InputType = InputType.
Choice
,
1168
InputType = InputType.
Choice
,
Publishers.AppHost (4)
DistributedApplicationBuilderExtensions.cs (4)
66
InputType = InputType.
Choice
,
79
InputType = InputType.
Choice
,
190
InputType = InputType.
Choice
,
240
InputType = InputType.
Choice
,
Stress.AppHost (26)
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 (17)
76
InputType = InputType.
Choice
,
87
InputType = InputType.
Choice
,
146
InputType = InputType.
Choice
,
159
InputType = InputType.
Choice
,
198
InputType = InputType.
Choice
,
226
InputType = InputType.
Choice
,
284
InputType = InputType.
Choice
,
296
InputType = InputType.
Choice
,
344
InputType = InputType.
Choice
,
354
InputType = InputType.
Choice
,
423
InputType = InputType.
Choice
,
435
InputType = InputType.
Choice
,
453
InputType = InputType.
Choice
,
606
InputType = InputType.
Choice
,
629
InputType = InputType.
Choice
,
668
InputType = InputType.
Choice
,
699
InputType = InputType.
Choice
,