51 references to Choice
Aspire.Hosting (7)
Dashboard\DashboardService.cs (2)
230
Aspire.Hosting.InputType.
Choice
=> Aspire.DashboardService.Proto.V1.InputType.Choice,
243
Aspire.DashboardService.Proto.V1.InputType.Choice => InputType.
Choice
,
IInteractionService.cs (3)
298
/// Gets or sets the options for the input. Only used by <see cref="InputType.
Choice
"/> inputs.
320
/// Gets a value indicating whether a custom choice is allowed. Only used by <see cref="InputType.
Choice
"/> inputs.
325
/// Gets or sets a value indicating whether a custom choice is allowed. Only used by <see cref="InputType.
Choice
"/> inputs.
InteractionService.cs (2)
176
if (input.InputType == InputType.
Choice
)
405
case InputType.
Choice
:
Aspire.Hosting.Azure (8)
Provisioning\Internal\PublishModeProvisioningContextProvider.cs (4)
162
InputType = InputType.
Choice
,
261
InputType = InputType.
Choice
,
355
InputType = InputType.
Choice
,
453
InputType = InputType.
Choice
,
Provisioning\Internal\RunModeProvisioningContextProvider.cs (4)
134
InputType = InputType.
Choice
,
162
inputType = InputType.
Choice
;
199
InputType = InputType.
Choice
,
236
InputType = InputType.
Choice
,
Aspire.Hosting.Azure.Tests (11)
AzureDeployerTests.cs (4)
58
Assert.Equal(InputType.
Choice
, input.InputType);
75
Assert.Equal(InputType.
Choice
, input.InputType);
93
Assert.Equal(InputType.
Choice
, input.InputType);
111
Assert.Equal(InputType.
Choice
, input.InputType);
ProvisioningContextProviderTests.cs (7)
286
Assert.Equal(InputType.
Choice
, input.InputType);
293
Assert.Equal(InputType.
Choice
, input.InputType);
300
Assert.Equal(InputType.
Choice
, input.InputType);
307
Assert.Equal(InputType.
Choice
, input.InputType);
464
Assert.Equal(InputType.
Choice
, input.InputType);
471
Assert.Equal(InputType.
Choice
, input.InputType);
600
Assert.Equal(InputType.
Choice
, subscriptionInput.InputType);
Aspire.Hosting.Tests (8)
InteractionServiceTests.cs (8)
339
var input = new InteractionInput { Name = "Value", Label = "Value", InputType = InputType.
Choice
, Options = [KeyValuePair.Create("first", "First option!"), KeyValuePair.Create("second", "Second option!")] };
348
inputs: [new InputDto("Value", "not-in-options", InputType.
Choice
)]);
362
var input = new InteractionInput { Name = "Value", Label = "Value", InputType = InputType.
Choice
, AllowCustomChoice = true, Options = [KeyValuePair.Create("first", "First option!"), KeyValuePair.Create("second", "Second option!")] };
371
inputs: [new InputDto("Value", "not-in-options", InputType.
Choice
)]);
830
InputType = InputType.
Choice
,
884
InputType = InputType.
Choice
,
991
InputType = InputType.
Choice
,
1024
InputType = InputType.
Choice
,
Publishers.AppHost (4)
DistributedApplicationBuilderExtensions.cs (4)
67
InputType = InputType.
Choice
,
80
InputType = InputType.
Choice
,
173
InputType = InputType.
Choice
,
223
InputType = InputType.
Choice
,
Stress.AppHost (13)
InteractionCommands.cs (13)
75
InputType = InputType.
Choice
,
86
InputType = InputType.
Choice
,
145
InputType = InputType.
Choice
,
158
InputType = InputType.
Choice
,
197
InputType = InputType.
Choice
,
225
InputType = InputType.
Choice
,
283
InputType = InputType.
Choice
,
295
InputType = InputType.
Choice
,
343
InputType = InputType.
Choice
,
353
InputType = InputType.
Choice
,
422
InputType = InputType.
Choice
,
434
InputType = InputType.
Choice
,
452
InputType = InputType.
Choice
,