19 writes to Label
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)
151Label = parameter.Name, 160Label = "Save to user secrets"
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)
39Label = "Application Name", 46Label = "Application Version", 53Label = "SSL Certificate Type", 98Label = "Environment Name", 120Label = "Database Password", 134Label = "Region", 154Label = "Enable Verbose Logging", 167Label = "Instance Count", 181Label = "Strategy",
Stress.AppHost (6)
InteractionCommands.cs (6)
104Label = "Dinner", 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 }, 177Label = $"Input {i + 1}",
15 references to Label
Aspire.Hosting (3)
Dashboard\DashboardService.cs (2)
125if (input.Label != null) 127dto.Label = input.Label;
Publishing\PublishingActivityReporter.cs (1)
290Label = input.Label,
Aspire.Hosting.Tests (4)
Orchestrator\ParameterProcessorTests.cs (4)
205Assert.Equal("param1", input.Label); 211Assert.Equal("param2", input.Label); 217Assert.Equal("secretParam", input.Label); 223Assert.Equal("Save to user secrets", input.Label);
Publishers.AppHost (5)
DistributedApplicationBuilderExtensions.cs (5)
68var appNameInput = validationContext.Inputs.FirstOrDefault(i => i.Label == "Application Name"); 74var versionInput = validationContext.Inputs.FirstOrDefault(i => i.Label == "Application Version"); 88var appName = multiInputResult.Canceled ? "default-app" : (multiInputResult.Data?.FirstOrDefault(i => i.Label == "Application Name")?.Value ?? "default-app"); 89var appVersion = multiInputResult.Canceled ? "1.0.0" : (multiInputResult.Data?.FirstOrDefault(i => i.Label == "Application Version")?.Value ?? "1.0.0"); 90var sslType = multiInputResult.Canceled ? "self-signed" : (multiInputResult.Data?.FirstOrDefault(i => i.Label == "SSL Certificate Type")?.Value ?? "self-signed");
Stress.AppHost (3)
InteractionCommands.cs (3)
94logger.LogInformation("Input: {Label} = {Value}", input.Label, input.Value); 163logger.LogInformation("Input: {Label} = {Value}", updatedInput.Label, updatedInput.Value); 197logger.LogInformation("Input: {Label} = {Value}", input.Label, input.Value);