50 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 (10)
AzureDeployerTests.cs (4)
56
Assert.Equal(InputType.
Choice
, input.InputType);
73
Assert.Equal(InputType.
Choice
, input.InputType);
91
Assert.Equal(InputType.
Choice
, input.InputType);
109
Assert.Equal(InputType.
Choice
, input.InputType);
ProvisioningContextProviderTests.cs (6)
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);
Aspire.Hosting.Tests (8)
InteractionServiceTests.cs (8)
338
var input = new InteractionInput { Name = "Value", Label = "Value", InputType = InputType.
Choice
, Options = [KeyValuePair.Create("first", "First option!"), KeyValuePair.Create("second", "Second option!")] };
347
inputs: [new InputDto("Value", "not-in-options", InputType.
Choice
)]);
361
var input = new InteractionInput { Name = "Value", Label = "Value", InputType = InputType.
Choice
, AllowCustomChoice = true, Options = [KeyValuePair.Create("first", "First option!"), KeyValuePair.Create("second", "Second option!")] };
370
inputs: [new InputDto("Value", "not-in-options", InputType.
Choice
)]);
829
InputType = InputType.
Choice
,
883
InputType = InputType.
Choice
,
990
InputType = InputType.
Choice
,
1023
InputType = InputType.
Choice
,
Publishers.AppHost (4)
DistributedApplicationBuilderExtensions.cs (4)
66
InputType = InputType.
Choice
,
79
InputType = InputType.
Choice
,
172
InputType = InputType.
Choice
,
222
InputType = InputType.
Choice
,
Stress.AppHost (13)
InteractionCommands.cs (13)
74
InputType = InputType.
Choice
,
85
InputType = InputType.
Choice
,
144
InputType = InputType.
Choice
,
157
InputType = InputType.
Choice
,
196
InputType = InputType.
Choice
,
224
InputType = InputType.
Choice
,
282
InputType = InputType.
Choice
,
294
InputType = InputType.
Choice
,
342
InputType = InputType.
Choice
,
352
InputType = InputType.
Choice
,
421
InputType = InputType.
Choice
,
433
InputType = InputType.
Choice
,
451
InputType = InputType.
Choice
,