32 references to Text
Aspire.Hosting (4)
ApplicationModel\ParameterResource.cs (1)
115
InputType = Secret ? InputType.SecretText : InputType.
Text
,
Dashboard\DashboardService.cs (1)
208
Aspire.Hosting.InputType.
Text
=> Aspire.DashboardService.Proto.V1.InputType.Text,
InteractionService.cs (2)
77
return await PromptInputAsync(title, message, new InteractionInput { InputType = InputType.
Text
, Label = inputLabel, Required = true, Placeholder = placeHolder }, options, cancellationToken).ConfigureAwait(false);
265
case InputType.
Text
:
Aspire.Hosting.Azure (1)
Provisioning\Internal\DefaultProvisioningContextProvider.cs (1)
106
new InteractionInput { InputType = InputType.
Text
, Label = "Resource group", Value = GetDefaultResourceGroupName() },
Aspire.Hosting.Azure.Tests (2)
AzureDeployerTests.cs (1)
97
Assert.Equal(InputType.
Text
, input.InputType);
DefaultProvisioningContextProviderTests.cs (1)
293
Assert.Equal(InputType.
Text
, input.InputType);
Aspire.Hosting.Tests (17)
AddParameterTests.cs (1)
466
Assert.Equal(InputType.
Text
, input.InputType);
Dashboard\DashboardServiceTests.cs (1)
317
new Aspire.Hosting.InteractionInput { InputType = Aspire.Hosting.InputType.
Text
, Label = "Input" });
InteractionServiceTests.cs (11)
178
var input = new InteractionInput { Label = "Value", InputType = InputType.
Text
, };
211
var input = new InteractionInput { Label = "Value", InputType = InputType.
Text
, Required = true };
286
[InlineData(InputType.
Text
, null)]
287
[InlineData(InputType.
Text
, 1)]
288
[InlineData(InputType.
Text
, 10)]
289
[InlineData(InputType.
Text
, InteractionHelpers.DefaultMaxLength)]
331
InputType = InputType.
Text
,
338
Assert.Equal(InputType.
Text
, input.InputType);
350
InputType = InputType.
Text
,
367
InputType = InputType.
Text
,
401
InputType = InputType.
Text
,
Orchestrator\ParameterProcessorTests.cs (4)
209
Assert.Equal(InputType.
Text
, input.InputType);
215
Assert.Equal(InputType.
Text
, input.InputType);
436
Assert.Equal(InputType.
Text
, param1Input.InputType);
442
Assert.Equal(InputType.
Text
, param2Input.InputType);
ExternalServices.AppHost (1)
AppHost.cs (1)
13
InputType = InputType.
Text
,
Publishers.AppHost (3)
DistributedApplicationBuilderExtensions.cs (3)
40
InputType = InputType.
Text
,
47
InputType = InputType.
Text
,
99
InputType = InputType.
Text
,
Stress.AppHost (4)
InteractionCommands.cs (4)
57
var inputNoMarkdown = new InteractionInput { Label = "<strong>Name</strong>", InputType = InputType.
Text
, Placeholder = "Enter <strong>your</strong> name.", Description = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce id massa arcu. Morbi ac risus eget augue venenatis hendrerit. Morbi posuere, neque id efficitur ultrices, velit augue suscipit ante, vitae lacinia elit risus nec dui.\r\n\r\nFor more information about the `IInteractionService`, see https://learn.microsoft.com." };
58
var inputHasMarkdown = new InteractionInput { Label = "<strong>Name</strong>", InputType = InputType.
Text
, Placeholder = "Enter <strong>your</strong> name.", Description = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce id massa arcu. Morbi ac risus eget augue venenatis hendrerit. Morbi posuere, neque id efficitur ultrices, velit augue suscipit ante, vitae lacinia elit risus nec dui.\r\n\r\nFor more information about the `IInteractionService`, see https://learn.microsoft.com.", EnableDescriptionMarkdown = true };
133
new InteractionInput { InputType = InputType.
Text
, Label = "Name", Placeholder = "Enter name", Required = true, MaxLength = 50 },
220
InputType = InputType.
Text
,