11 references to Choice
Aspire.Hosting (3)
Dashboard\DashboardService.cs (1)
210
Aspire.Hosting.InputType.
Choice
=> Aspire.DashboardService.Proto.V1.InputType.Choice,
IInteractionService.cs (1)
133
/// Gets or sets the options for the input. Only used by <see cref="InputType.
Choice
"/> inputs.
InteractionService.cs (1)
274
case InputType.
Choice
:
Aspire.Hosting.Azure (1)
Provisioning\Internal\DefaultProvisioningContextProvider.cs (1)
104
new InteractionInput { InputType = InputType.
Choice
, Label = "Location", Placeholder = "Select location", Required = true, Options = [..locations] },
Aspire.Hosting.Azure.Tests (2)
AzureDeployerTests.cs (1)
85
Assert.Equal(InputType.
Choice
, input.InputType);
DefaultProvisioningContextProviderTests.cs (1)
281
Assert.Equal(InputType.
Choice
, input.InputType);
Aspire.Hosting.Tests (1)
InteractionServiceTests.cs (1)
230
var input = new InteractionInput { Label = "Value", InputType = InputType.
Choice
, Options = [KeyValuePair.Create("first", "First option!"), KeyValuePair.Create("second", "Second option!")] };
Publishers.AppHost (3)
DistributedApplicationBuilderExtensions.cs (3)
54
InputType = InputType.
Choice
,
135
InputType = InputType.
Choice
,
182
InputType = InputType.
Choice
,
Stress.AppHost (1)
InteractionCommands.cs (1)
106
InputType = InputType.
Choice
,