18 writes to Required
Aspire.Hosting (1)
InteractionService.cs (1)
77return await PromptInputAsync(title, message, new InteractionInput { InputType = InputType.Text, Label = inputLabel, Required = true, Placeholder = placeHolder }, options, cancellationToken).ConfigureAwait(false);
Aspire.Hosting.Azure (2)
Provisioning\Internal\DefaultProvisioningContextProvider.cs (2)
104new InteractionInput { InputType = InputType.Choice, Label = "Location", Placeholder = "Select location", Required = true, Options = [..locations] }, 105new InteractionInput { InputType = InputType.SecretText, Label = "Subscription ID", Placeholder = "Select subscription ID", Required = true },
Aspire.Hosting.Tests (1)
InteractionServiceTests.cs (1)
211var input = new InteractionInput { Label = "Value", InputType = InputType.Text, Required = true };
Publishers.AppHost (9)
DistributedApplicationBuilderExtensions.cs (9)
41Required = true, 48Required = false, 55Required = true, 100Required = true, 122Required = true, 136Required = true, 156Required = false 169Required = true, 183Required = true,
Stress.AppHost (5)
InteractionCommands.cs (5)
109Required = true, 130var numberOfPeopleInput = new InteractionInput { InputType = InputType.Number, Label = "Number of people", Placeholder = "Enter number of people", Value = "2", Required = true }; 133new InteractionInput { InputType = InputType.Text, Label = "Name", Placeholder = "Enter name", Required = true, MaxLength = 50 }, 134new InteractionInput { InputType = InputType.SecretText, Label = "Password", Placeholder = "Enter password", Required = true, MaxLength = 20 }, 137new InteractionInput { InputType = InputType.Boolean, Label = "Remember me", Placeholder = "What does this do?", Required = true },
13 references to Required
Aspire.Hosting (3)
Dashboard\DashboardService.cs (1)
123Required = input.Required
InteractionService.cs (1)
256if (input.Required)
Publishing\PublishingActivityReporter.cs (1)
290Required = input.Required,
Aspire.Hosting.Azure.Tests (6)
AzureDeployerTests.cs (3)
86Assert.True(input.Required); 92Assert.True(input.Required); 98Assert.False(input.Required);
DefaultProvisioningContextProviderTests.cs (3)
282Assert.True(input.Required); 288Assert.True(input.Required); 294Assert.False(input.Required);
Aspire.Hosting.Tests (4)
Orchestrator\ParameterProcessorTests.cs (4)
210Assert.False(input.Required); 216Assert.False(input.Required); 222Assert.False(input.Required); 228Assert.False(input.Required);