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