18 writes to Required
Aspire.Hosting (1)
InteractionService.cs (1)
77
return 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)
104
new InteractionInput { InputType = InputType.Choice, Label = "Location", Placeholder = "Select location",
Required
= true, Options = [..locations] },
105
new InteractionInput { InputType = InputType.SecretText, Label = "Subscription ID", Placeholder = "Select subscription ID",
Required
= true },
Aspire.Hosting.Tests (1)
InteractionServiceTests.cs (1)
211
var input = new InteractionInput { Label = "Value", InputType = InputType.Text,
Required
= true };
Publishers.AppHost (9)
DistributedApplicationBuilderExtensions.cs (9)
41
Required
= true,
48
Required
= false,
55
Required
= true,
100
Required
= true,
122
Required
= true,
136
Required
= true,
156
Required
= false
169
Required
= true,
183
Required
= true,
Stress.AppHost (5)
InteractionCommands.cs (5)
109
Required
= true,
130
var numberOfPeopleInput = new InteractionInput { InputType = InputType.Number, Label = "Number of people", Placeholder = "Enter number of people", Value = "2",
Required
= true };
133
new InteractionInput { InputType = InputType.Text, Label = "Name", Placeholder = "Enter name",
Required
= true, MaxLength = 50 },
134
new InteractionInput { InputType = InputType.SecretText, Label = "Password", Placeholder = "Enter password",
Required
= true, MaxLength = 20 },
137
new 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)
123
Required = input.
Required
InteractionService.cs (1)
256
if (input.
Required
)
Publishing\PublishingActivityReporter.cs (1)
290
Required = input.
Required
,
Aspire.Hosting.Azure.Tests (6)
AzureDeployerTests.cs (3)
86
Assert.True(input.
Required
);
92
Assert.True(input.
Required
);
98
Assert.False(input.
Required
);
DefaultProvisioningContextProviderTests.cs (3)
282
Assert.True(input.
Required
);
288
Assert.True(input.
Required
);
294
Assert.False(input.
Required
);
Aspire.Hosting.Tests (4)
Orchestrator\ParameterProcessorTests.cs (4)
210
Assert.False(input.
Required
);
216
Assert.False(input.
Required
);
222
Assert.False(input.
Required
);
228
Assert.False(input.
Required
);