19 writes to InputType
Aspire.Hosting (3)
InteractionService.cs (1)
76return await PromptInputAsync(title, message, new InteractionInput { InputType = InputType.Text, Label = inputLabel, Required = true, Placeholder = placeHolder }, options, cancellationToken).ConfigureAwait(false);
Orchestrator\ParameterProcessor.cs (2)
150InputType = parameter.Secret ? InputType.SecretText : InputType.Text, 159InputType = InputType.Boolean,
Aspire.Hosting.Tests (1)
Dashboard\DashboardServiceTests.cs (1)
318new Aspire.Hosting.InteractionInput { InputType = Aspire.Hosting.InputType.Text, Label = "Input" });
Publishers.AppHost (9)
DistributedApplicationBuilderExtensions.cs (9)
40InputType = InputType.Text, 47InputType = InputType.Text, 54InputType = InputType.Choice, 99InputType = InputType.Text, 121InputType = InputType.SecretText, 135InputType = InputType.Choice, 155InputType = InputType.Boolean, 168InputType = InputType.Number, 182InputType = InputType.Choice,
Stress.AppHost (6)
InteractionCommands.cs (6)
103InputType = InputType.Choice, 127var numberOfPeopleInput = new InteractionInput { InputType = InputType.Number, Label = "Number of people", Placeholder = "Enter number of people", Value = "2", Required = true }; 130new InteractionInput { InputType = InputType.Text, Label = "Name", Placeholder = "Enter name", Required = true }, 131new InteractionInput { InputType = InputType.SecretText, Label = "Password", Placeholder = "Enter password", Required = true }, 134new InteractionInput { InputType = InputType.Boolean, Label = "Remember me", Placeholder = "What does this do?", Required = true }, 176InputType = InputType.Text,
6 references to InputType
Aspire.Hosting (2)
Dashboard\DashboardService.cs (1)
122InputType = MapInputType(input.InputType),
Publishing\PublishingActivityReporter.cs (1)
291InputType = input.InputType.ToString(),
Aspire.Hosting.Tests (4)
Orchestrator\ParameterProcessorTests.cs (4)
206Assert.Equal(InputType.Text, input.InputType); 212Assert.Equal(InputType.Text, input.InputType); 218Assert.Equal(InputType.SecretText, input.InputType); 224Assert.Equal(InputType.Boolean, input.InputType);