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