15 references to Choice
Aspire.Hosting (3)
Dashboard\DashboardService.cs (1)
210
Aspire.Hosting.InputType.
Choice
=> Aspire.DashboardService.Proto.V1.InputType.Choice,
IInteractionService.cs (1)
142
/// Gets or sets the options for the input. Only used by <see cref="InputType.
Choice
"/> inputs.
InteractionService.cs (1)
277
case InputType.
Choice
:
Aspire.Hosting.Azure (4)
Provisioning\Internal\PublishModeProvisioningContextProvider.cs (3)
167
InputType = InputType.
Choice
,
284
InputType = InputType.
Choice
,
335
InputType = InputType.
Choice
,
Provisioning\Internal\RunModeProvisioningContextProvider.cs (1)
136
new InteractionInput { Name = LocationName, InputType = InputType.
Choice
, Label = AzureProvisioningStrings.LocationLabel, Placeholder = AzureProvisioningStrings.LocationPlaceholder, Required = true, Options = [..locations] },
Aspire.Hosting.Azure.Tests (3)
AzureDeployerTests.cs (2)
78
Assert.Equal(InputType.
Choice
, input.InputType);
96
Assert.Equal(InputType.
Choice
, input.InputType);
ProvisioningContextProviderTests.cs (1)
284
Assert.Equal(InputType.
Choice
, input.InputType);
Aspire.Hosting.Tests (1)
InteractionServiceTests.cs (1)
230
var input = new InteractionInput { Name = "Value", Label = "Value", InputType = InputType.
Choice
, Options = [KeyValuePair.Create("first", "First option!"), KeyValuePair.Create("second", "Second option!")] };
Publishers.AppHost (3)
DistributedApplicationBuilderExtensions.cs (3)
57
InputType = InputType.
Choice
,
141
InputType = InputType.
Choice
,
191
InputType = InputType.
Choice
,
Stress.AppHost (1)
InteractionCommands.cs (1)
107
InputType = InputType.
Choice
,