426 references to InputType
Aspire.Hosting (65)
ApplicationModel\ParameterResource.cs (2)
169InputType = Secret ? InputType.SecretText : InputType.Text,
ApplicationModel\ResourceCommandService.cs (6)
588var value = argument.Value = argument.InputType == InputType.SecretText 619case InputType.Text: 620case InputType.SecretText: 628case InputType.Choice: 634case InputType.Boolean: 640case InputType.Number:
Ats\InteractionExports.cs (7)
178return InteractionInputBuilder.Create(name, InputType.Text, options); 187return InteractionInputBuilder.Create(name, InputType.SecretText, options); 196return InteractionInputBuilder.Create(name, InputType.Boolean, options); 205return InteractionInputBuilder.Create(name, InputType.Number, options); 214return InteractionInputBuilder.Create(name, InputType.File, options); 227var builder = InteractionInputBuilder.Create(name, InputType.Choice, options); 304internal static InteractionInputBuilder Create(string name, InputType inputType, CreateInteractionInputOptions? options)
Ats\ParameterCustomInputOptions.cs (1)
15public InputType? InputType { get; set; }
Dashboard\DashboardService.cs (15)
267else if (maxFileUploadSize.HasValue && input.InputType == InputType.File) 284internal static Aspire.DashboardService.Proto.V1.InputType MapInputType(Aspire.Hosting.InputType inputType) 288Aspire.Hosting.InputType.Text => Aspire.DashboardService.Proto.V1.InputType.Text, 289Aspire.Hosting.InputType.SecretText => Aspire.DashboardService.Proto.V1.InputType.SecretText, 290Aspire.Hosting.InputType.Choice => Aspire.DashboardService.Proto.V1.InputType.Choice, 291Aspire.Hosting.InputType.Boolean => Aspire.DashboardService.Proto.V1.InputType.Boolean, 292Aspire.Hosting.InputType.Number => Aspire.DashboardService.Proto.V1.InputType.Number, 293Aspire.Hosting.InputType.File => Aspire.DashboardService.Proto.V1.InputType.File, 298public static Aspire.Hosting.InputType MapInputType(Aspire.DashboardService.Proto.V1.InputType inputType) 302Aspire.DashboardService.Proto.V1.InputType.Text => InputType.Text, 303Aspire.DashboardService.Proto.V1.InputType.SecretText => InputType.SecretText, 304Aspire.DashboardService.Proto.V1.InputType.Choice => InputType.Choice, 305Aspire.DashboardService.Proto.V1.InputType.Boolean => InputType.Boolean, 306Aspire.DashboardService.Proto.V1.InputType.Number => InputType.Number, 307Aspire.DashboardService.Proto.V1.InputType.File => InputType.File,
Dashboard\DashboardServiceData.cs (6)
246public record InputDto(string Name, string Value, InputType InputType, IReadOnlyList<InputFileDto>? Files = null); 265var files = input.InputType == InputType.File 270else if (input.InputType == InputType.File) 322if (requestInput.InputType == InputType.Boolean) 327if (!string.Equals(modelInput.Value ?? string.Empty, incomingValue ?? string.Empty) || requestInput.InputType == InputType.File) 332if (requestInput.InputType == InputType.File)
IInteractionService.cs (10)
399public required InputType InputType { get; init; } 411/// Gets or sets the options for the input. Only used by <see cref="InputType.Choice"/> inputs. 442/// Gets a value indicating whether a custom choice is allowed. Only used by <see cref="InputType.Choice"/> inputs. 469/// Gets or sets a value indicating whether multiple files can be selected. Only used by <see cref="InputType.File"/> inputs. 474/// Gets or sets the file type filter for <see cref="InputType.File"/> inputs. 482/// Gets or sets the maximum file size in bytes for <see cref="InputType.File"/> inputs. 501/// Gets the files associated with this <see cref="InputType.File"/> input. 516/// Gets the files associated with this <see cref="InputType.File"/> input. 594/// Represents a file selected by the user for an <see cref="InputType.File"/> input. 774/// <see cref="InputType.Number"/> accepts floating point values. Use <see cref="GetDouble(string)"/> for decimal values,
InteractionService.cs (11)
144return await PromptInputAsync(title, message, new InteractionInput { Name = InteractionHelpers.LabelToName(inputLabel), InputType = InputType.Text, Label = inputLabel, Required = true, Placeholder = placeHolder }, options, cancellationToken).ConfigureAwait(false); 166var hasFileInputs = inputs.Any(input => input.InputType == InputType.File); 203.Where(input => input.InputType == InputType.File) 221if (input.InputType == InputType.Choice) 561inputsInfo.Inputs.Any(input => input.InputType == InputType.File)) 608if (input.InputType == InputType.File) 635case InputType.Text: 636case InputType.SecretText: 644case InputType.Choice: 654case InputType.Boolean: 660case InputType.Number:
Orchestrator\ParameterProcessor.cs (4)
236InputType = InputType.Boolean, 276InputType = InputType.Boolean, 382InputType = InputType.Boolean, 414InputType = InputType.Boolean,
ParameterResourceBuilderExtensions.cs (2)
265InputType = options.InputType ?? (parameter.Secret ? InputType.SecretText : InputType.Text),
Pipelines\PipelineActivityReporter.cs (1)
490if (matchingInput.InputType == InputType.File)
Aspire.Hosting.Azure (20)
AzureProvisioningController.cs (8)
275InputType = InputType.Choice, 296InputType = InputType.Choice, 317InputType = InputType.Choice, 335InputType = InputType.Choice, 357InputType = InputType.Choice, 375InputType = InputType.Boolean, 678InputType = useChoiceInput ? InputType.Choice : InputType.Text,
Provisioning\Internal\PublishModeProvisioningContextProvider.cs (6)
158InputType = InputType.Choice, 184InputType = InputType.SecretText, 257InputType = InputType.Choice, 283InputType = InputType.SecretText, 351InputType = InputType.Choice, 449InputType = InputType.Choice,
Provisioning\Internal\RunModeProvisioningContextProvider.cs (6)
336InputType = InputType.Choice, 362InputType = allowSubscriptionEdit ? InputType.Choice : InputType.Text, 397InputType = useTextResourceGroupInput ? InputType.Text : InputType.Choice, 438InputType = InputType.Choice,
Aspire.Hosting.Azure.Tests (27)
AzureDeployerTests.cs (9)
61Assert.Equal(InputType.Choice, input.InputType); 78Assert.Equal(InputType.Choice, input.InputType); 96Assert.Equal(InputType.Choice, input.InputType); 114Assert.Equal(InputType.Choice, input.InputType); 821Assert.Equal(InputType.Text, input.InputType); 871InputType = InputType.Number, 894Assert.Equal(InputType.Number, input.InputType); 1084Assert.Equal(InputType.Text, input.InputType); 1129Assert.Equal(InputType.Text, input.InputType);
AzureEnvironmentResourceExtensionsTests.cs (7)
126Assert.Equal(InputType.Choice, input.InputType); 136Assert.Equal(InputType.Choice, input.InputType); 147Assert.Equal(InputType.Choice, input.InputType); 158Assert.Equal(InputType.Choice, input.InputType); 668Assert.Equal(InputType.Boolean, confirmDeleteArgument.InputType); 2966Assert.Equal(InputType.Choice, locationInput.InputType); 4997InputType = InputType.Text,
ProvisioningContextProviderTests.cs (11)
353Assert.Equal(InputType.Choice, input.InputType); 360Assert.Equal(InputType.Choice, input.InputType); 367Assert.Equal(InputType.Text, input.InputType); 374Assert.Equal(InputType.Choice, input.InputType); 506Assert.Equal(InputType.Choice, input.InputType); 513Assert.Equal(InputType.Choice, input.InputType); 521Assert.Equal(InputType.Text, input.InputType); 528Assert.Equal(InputType.Choice, input.InputType); 646Assert.Equal(InputType.Choice, subscriptionInput.InputType); 793Assert.Equal(InputType.Choice, subscriptionInput.InputType); 839Assert.Equal(InputType.Text, resourceGroupInput.InputType);
Aspire.Hosting.Browsers (5)
BrowserLogsConfigurationManager.cs (5)
48InputType = InputType.Choice, 63InputType = InputType.Choice, 83InputType = InputType.Choice, 107InputType = InputType.Choice, 131InputType = InputType.Boolean,
Aspire.Hosting.Browsers.Tests (10)
BrowserLogsBuilderExtensionsTests.cs (5)
1736new InteractionInput { Name = "scope", InputType = InputType.Choice, Value = scope }, 1737new InteractionInput { Name = "browser", InputType = InputType.Choice, Value = browser }, 1738new InteractionInput { Name = "userDataMode", InputType = InputType.Choice, Value = userDataMode }, 1739new InteractionInput { Name = "profile", InputType = InputType.Choice, Value = profile }, 1740new InteractionInput { Name = "saveToUserSecrets", InputType = InputType.Boolean, Value = saveToUserSecrets },
src\Aspire.Hosting.Browsers\BrowserLogsConfigurationManager.cs (5)
48InputType = InputType.Choice, 63InputType = InputType.Choice, 83InputType = InputType.Choice, 107InputType = InputType.Choice, 131InputType = InputType.Boolean,
Aspire.Hosting.EntityFrameworkCore (1)
EFResourceBuilderExtensions.cs (1)
842InputType = InputType.Text,
Aspire.Hosting.Foundry (2)
HostedAgent\HostedAgentBuilderExtension.cs (1)
331InputType = InputType.Text,
PromptAgent\PromptAgentBuilderExtensions.cs (1)
121InputType = InputType.Text,
Aspire.Hosting.Foundry.Tests (4)
HostedAgentExtensionTests.cs (3)
90Assert.Equal(InputType.Text, argument.InputType); 114InputType = InputType.Text, 179InputType = InputType.Text,
PromptAgentTests.cs (1)
108InputType = InputType.Text,
Aspire.Hosting.RemoteHost.Tests (1)
AtsExportsTests.cs (1)
179Assert.Equal(InputType.File, input.InputType);
Aspire.Hosting.Tests (188)
AddParameterTests.cs (13)
406InputType = InputType.Number, 429Assert.Equal(InputType.Text, input.InputType); 482Assert.Equal(InputType.SecretText, input.InputType); 499InputType = InputType.Number, 510Assert.Equal(InputType.Number, input.InputType); 526InputType = InputType.Number, 538Assert.Equal(InputType.Number, input.InputType); 553InputType = InputType.Number, 594InputType = InputType.Number, 604Assert.Equal(InputType.Number, input.InputType); 620[nameof(InteractionInput.InputType)] = InputType.Number, 636Assert.Equal(InputType.Number, input.InputType); 666Assert.Equal(InputType.SecretText, input.InputType);
Backchannel\AuxiliaryBackchannelRpcTargetTests.cs (15)
218InputType = InputType.Text, 310Assert.Equal(nameof(InputType.Text), argumentInput.InputType); 2268InputType = InputType.Text 2273InputType = InputType.Number 2278InputType = InputType.Boolean 2333InputType = InputType.Text 2384InputType = InputType.Text 2389InputType = InputType.Number 2394InputType = InputType.Boolean 2441InputType = InputType.Choice, 2451InputType = InputType.Choice, 2515InputType = InputType.Choice, 2525InputType = InputType.Choice, 2590InputType = InputType.Text 2638InputType = InputType.Text
Dashboard\DashboardServiceTests.cs (18)
180InputType = InputType.Text, 305InputType = InputType.Text 310InputType = InputType.Number 368InputType = InputType.Text, 425InputType = InputType.Text 569new InteractionInput { Name = "Input", InputType = InputType.Text }); 731new InteractionInput { Name = "Input", InputType = InputType.Text, Label = "Input" }); 931[InlineData(InputType.File, 0, -1, 0)] // File, no input max, no server limit → 0 932[InlineData(InputType.File, 0, 50, 50)] // File, no input max, 50 MB server limit → 50 MB 933[InlineData(InputType.File, 5, 100, 5)] // File, 5 MB input max below 100 MB server → uses input 934[InlineData(InputType.File, 200, 100, 100)] // File, 200 MB input max exceeds 100 MB server → capped 935[InlineData(InputType.File, 50, -1, 50)] // File, 50 MB input max, no server limit → uses input 936[InlineData(InputType.Text, 0, 100, 0)] // Non-file, server limit not applied → 0 938InputType inputType, int inputMaxFileSizeMB, int serverLimitMB, int expectedMB) 1197var fileInput = new InteractionInput { Name = "File", InputType = InputType.File }; 1198var textInput = new InteractionInput { Name = "Text", InputType = InputType.Text }; 1236var input = new InteractionInput { Name = "File", InputType = InputType.File, Required = true, AllowMultipleFiles = true }; 1300var input = new InteractionInput { Name = "File", InputType = InputType.File };
InteractionServiceTests.cs (78)
362var input = new InteractionInput { Name = "Value", Label = "Value", InputType = InputType.Text, }; 384inputs: [new InputDto("Value", string.Empty, InputType.Text)]); 399var input = new InteractionInput { Name = "Value", Label = "Value", InputType = InputType.Text, Required = true }; 408inputs: [new InputDto("Value", string.Empty, InputType.Text)]); 422var input = new InteractionInput { Name = "Value", Label = "Value", InputType = InputType.Choice, Options = [KeyValuePair.Create("first", "First option!"), KeyValuePair.Create("second", "Second option!")] }; 431inputs: [new InputDto("Value", "not-in-options", InputType.Choice)]); 445var input = new InteractionInput { Name = "Value", Label = "Value", InputType = InputType.Choice, AllowCustomChoice = true, Options = [KeyValuePair.Create("first", "First option!"), KeyValuePair.Create("second", "Second option!")] }; 454inputs: [new InputDto("Value", "not-in-options", InputType.Choice)]); 466var input = new InteractionInput { Name = "Value", Label = "Value", InputType = InputType.Number }; 475inputs: [new InputDto("Value", "one", InputType.Number)]); 489var input = new InteractionInput { Name = "Value", Label = "Value", InputType = InputType.Boolean }; 498inputs: [new InputDto("Value", "maybe", InputType.Number)]); 508[InlineData(InputType.Text, null)] 509[InlineData(InputType.Text, 1)] 510[InlineData(InputType.Text, 10)] 511[InlineData(InputType.Text, InteractionHelpers.DefaultMaxLength)] 512[InlineData(InputType.SecretText, 10)] 513public async Task PromptInputsAsync_TextExceedsLimit_ReturnErrors(InputType inputType, int? maxLength) 518static async Task TextExceedsLimitCoreAsync(InputType inputType, int? maxLength, bool success) 533inputs: [new InputDto("Value", newValue, InputType.Text)]); 558InputType = InputType.Text, 565Assert.Equal(InputType.Text, input.InputType); 578InputType = InputType.Text, 596InputType = InputType.Text, 631InputType = InputType.Text, 643new InteractionInput { Name = "Username", Label = "Username", InputType = InputType.Text }, 644new InteractionInput { Name = "Password", Label = "Password", InputType = InputType.SecretText }, 645new InteractionInput { Name = "RememberMe", Label = "Remember Me", InputType = InputType.Boolean } 683new InteractionInput { Name = "UserName", Label = "User Name", InputType = InputType.Text }, 684new InteractionInput { Name = "EmailAddress", Label = "Email Address", InputType = InputType.Text }, 685new InteractionInput { Name = "Age", InputType = InputType.Number } 717new InteractionInput { Name = "ExplicitName", Label = "Explicit", InputType = InputType.Text }, 718new InteractionInput { Name = "GeneratedLabel", Label = "Generated Label", InputType = InputType.Text }, 719new InteractionInput { Name = "AnotherExplicit", Label = "Another", InputType = InputType.Text } 740new InteractionInput { Name = "Duplicate", Label = "First", InputType = InputType.Text }, 741new InteractionInput { Name = "Duplicate", Label = "Second", InputType = InputType.Text } 755new InteractionInput { Name = "Username", Label = "First", InputType = InputType.Text }, 756new InteractionInput { Name = "USERNAME", Label = "Second", InputType = InputType.Text } 770new InteractionInput { Name = "Input1", InputType = InputType.Text }, 771new InteractionInput { Name = "Input2", InputType = InputType.Text }, 772new InteractionInput { Name = "Input3", InputType = InputType.Text } 803new InteractionInput { Name = "SpecialInput", Label = "!@#$%^&*()", InputType = InputType.Text }, 804new InteractionInput { Name = "EmptyLabel", Label = "", InputType = InputType.Text }, 805new InteractionInput { Name = "WhitespaceLabel", Label = " ", InputType = InputType.Text } 840new InteractionInput { Name = "Valid", Label = "Valid", InputType = InputType.Text } 856new InteractionInput { Name = "Username", Label = "Username", InputType = InputType.Text }, 857new InteractionInput { Name = "Password", Label = "Password", InputType = InputType.SecretText } 870new InputDto("Username", "testuser", InputType.Text), 871new InputDto("Password", "testpass", InputType.SecretText) 913InputType = InputType.Choice, 963new InteractionInput { Name = "Username", Label = "Username", InputType = InputType.Text }, 967InputType = InputType.Choice, 994inputs: [new InputDto("Username", "testuser", InputType.Text)]).DefaultTimeout(); 1018new InteractionInput { Name = "Email", Label = "Email", InputType = InputType.Text, Required = true }, 1019new InteractionInput { Name = "Age", Label = "Age", InputType = InputType.Number, Required = true } 1052new InputDto("Email", "test@example.com", InputType.Text), 1053new InputDto("Age", "25", InputType.Number) 1074InputType = InputType.Choice, 1086new InteractionInput { Name = "Age", Label = "Age", InputType = InputType.Number, Required = true } 1107InputType = InputType.Choice, 1119new InteractionInput { Name = "Age", Label = "Age", InputType = InputType.Number, Required = true } 1352var input = new InteractionInput { Name = "File", Label = "File", InputType = InputType.File, Required = true }; 1362inputs: [new InputDto("File", "file-content-here", InputType.File, Files: [new InputFileDto("file1", "test.txt", "/tmp/test.txt")])]); 1381var input = new InteractionInput { Name = "File", Label = "File", InputType = InputType.File }; 1406var input = new InteractionInput { Name = "File", Label = "File", InputType = InputType.File }; 1425var input = new InteractionInput { Name = "Text", InputType = InputType.Text }; 1433inputs: [new InputDto("Text", "value", InputType.Text)]); 1449var input = new InteractionInput { Name = "Text", InputType = InputType.Text }; 1472var input = new InteractionInput { Name = "File", Label = "File", InputType = InputType.File, Required = true }; 1481inputs: [new InputDto("File", string.Empty, InputType.File)]); 1495var input = new InteractionInput { Name = "File", Label = "File", InputType = InputType.File, Required = false }; 1504inputs: [new InputDto("File", string.Empty, InputType.File)]); 1523InputType = InputType.File, 1538inputs: [new InputDto("File", "files", InputType.File, files)]); 1561InputType = InputType.File, 1568InputType = InputType.File, 1579InputType = InputType.File, 1592InputType = InputType.File
Orchestrator\ParameterProcessorTests.cs (12)
219Assert.Equal(InputType.Text, input.InputType); 225Assert.Equal(InputType.Text, input.InputType); 231Assert.Equal(InputType.SecretText, input.InputType); 237Assert.Equal(InputType.Boolean, input.InputType); 458Assert.Equal(InputType.Text, param1Input.InputType); 464Assert.Equal(InputType.Text, param2Input.InputType); 501Assert.Equal(InputType.SecretText, secretInput.InputType); 537Assert.Equal(InputType.Boolean, saveCheckbox.InputType); 576Assert.Equal(InputType.Boolean, saveCheckbox.InputType); 1237InputType = InputType.Text, 1243InputType = InputType.Boolean, 1255InputType = InputType.Boolean,
Publishing\PipelineActivityReporterTests.cs (2)
652InputType = InputType.File, 693InputType = InputType.File
ResourceCommandServiceTests.cs (35)
531InputType = InputType.Text 536InputType = InputType.Number 546InputType = InputType.Text, 552InputType = InputType.Number, 589InputType = InputType.Text, 630InputType = InputType.Text, 670InputType = InputType.SecretText, 681InputType = InputType.SecretText, 712InputType = InputType.Text 717InputType = InputType.Number, 723InputType = InputType.Boolean, 757InputType = InputType.Text 788InputType = InputType.Text 819InputType = InputType.Boolean, 851InputType = InputType.Choice, 892InputType = InputType.Boolean, 955InputType = InputType.Text, 997InputType = InputType.Choice, 1004InputType = InputType.Choice, 1070InputType = InputType.Choice, 1077InputType = InputType.Choice, 1095InputType = InputType.Choice, 1162InputType = InputType.Choice, 1169InputType = InputType.Choice, 1232InputType = InputType.Text, 1284InputType = InputType.Text, 1333InputType = InputType.Text 1338InputType = InputType.Text, 1441InputType = InputType.Boolean, 1448InputType = InputType.Number, 1513InputType = InputType.Text, 1624InputType = InputType.Text, 1630InputType = InputType.Text, 1641InputType = InputType.Text, 1681InputType = InputType.Text,
Terminals\InteractionServiceTerminalTests.cs (1)
118var input = new InteractionInput { Name = "text", InputType = InputType.Text, Required = true, Value = "value" };
WithHttpCommandTests.cs (5)
272InputType = InputType.Text, 365InputType = InputType.Text, 382InputType = InputType.Text, 754InputType = InputType.Text, 783InputType = InputType.Text,
WithProcessCommandTests.cs (9)
66InputType = InputType.Text 171InputType = InputType.Text 185InputType = InputType.Text, 243InputType = InputType.Text 264InputType = InputType.Text, 366InputType = InputType.Text 379InputType = InputType.Text, 423InputType = InputType.Text 1433InputType = InputType.Text,
ExternalServices.AppHost (1)
AppHost.cs (1)
13InputType = InputType.Text,
ParameterEndToEnd.AppHost (1)
AppHost.cs (1)
50InputType = InputType.Number,
Publishers.AppHost (11)
DistributedApplicationBuilderExtensions.cs (11)
48InputType = InputType.Text, 56InputType = InputType.Text, 64InputType = InputType.Choice, 77InputType = InputType.Choice, 99InputType = InputType.File, 150InputType = InputType.Text, 173InputType = InputType.SecretText, 188InputType = InputType.Choice, 209InputType = InputType.Boolean, 223InputType = InputType.Number, 238InputType = InputType.Choice,
Stress.AppHost (89)
CommandResources.cs (52)
149InputType = InputType.Text, 157InputType = InputType.Number, 164InputType = InputType.Boolean 207InputType = InputType.Text, 217InputType = InputType.Number, 225InputType = InputType.Boolean, 233InputType = InputType.Choice, 247InputType = InputType.SecretText, 302InputType = InputType.Text, 312InputType = InputType.Choice, 326InputType = InputType.Number, 334InputType = InputType.Boolean, 350.Where(i => i.InputType is InputType.Text or InputType.SecretText or InputType.Choice) 352NumberCount = inputsWithValues.Count(i => i.InputType == InputType.Number), 353BooleanCount = inputsWithValues.Count(i => i.InputType == InputType.Boolean), 393InputType = InputType.Choice, 408InputType = InputType.Choice, 451InputType = InputType.Number, 460InputType = InputType.Choice, 553InputType = InputType.Choice, 581InputType = InputType.Text, 655InputType = InputType.Text, 664InputType = InputType.Text, 710InputType = InputType.Choice, 724InputType = InputType.Number, 756InputType = InputType.Choice, 790InputType = InputType.Text, 799InputType = InputType.Text, 828InputType = InputType.Text, 837InputType = InputType.Text, 846InputType = InputType.Text, 875InputType = InputType.Text, 885InputType = InputType.Text, 895InputType = InputType.Text, 1062InputType = InputType.Boolean, 1070InputType = InputType.Number, 1079InputType = InputType.Number, 1089InputType = InputType.Boolean, 1097InputType = InputType.Number, 1106InputType = InputType.Boolean, 1114InputType = InputType.Number, 1123InputType = InputType.Boolean, 1131InputType = InputType.Number, 1141InputType = InputType.Boolean, 1149InputType = InputType.Number, 1158InputType = InputType.Number, 1388InputType = InputType.Text, 1398InputType = InputType.Number, 1407InputType = InputType.Boolean, 1420InputType = InputType.Text,
InteractionCommands.cs (37)
59var inputNoMarkdown = new InteractionInput { Name = "Name", 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." }; 60var inputHasMarkdown = new InteractionInput { Name = "Name", 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 }; 72var inputHasMarkdown = new InteractionInput { Name = "Name", 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.", EnableDescriptionMarkdown = true }; 76InputType = InputType.Choice, 87InputType = InputType.Choice, 146InputType = InputType.Choice, 159InputType = InputType.Choice, 198InputType = InputType.Choice, 226InputType = InputType.Choice, 236var numberOfPeopleInput = new InteractionInput { Name = "NumberOfPeople", InputType = InputType.Number, Label = "Number of people", Placeholder = "Enter number of people", Value = "2", Required = true }; 239new InteractionInput { Name = "Name", InputType = InputType.Text, Label = "Name", Description = "The name for the dinner reservation. Maximum 50 characters.", Placeholder = "Enter name", Required = true, MaxLength = 50 }, 240new InteractionInput { Name = "Password", InputType = InputType.SecretText, Label = "Password", Description = "The password for the reservation. Maximum 20 characters.", Placeholder = "Enter password", Required = true, MaxLength = 20 }, 244new InteractionInput { Name = "RememberMe", InputType = InputType.Boolean, Label = "Remember me", Placeholder = "What does this do?", Required = true }, 286InputType = InputType.Text, 295InputType = InputType.SecretText, 304InputType = InputType.Choice, 315InputType = InputType.Choice, 326InputType = InputType.Number, 335InputType = InputType.Boolean, 344InputType = InputType.File, 365InputType = InputType.Choice, 377InputType = InputType.Choice, 425InputType = InputType.Choice, 435InputType = InputType.Choice, 446InputType = InputType.Text, 504InputType = InputType.Choice, 516InputType = InputType.Choice, 534InputType = InputType.Choice, 568new InteractionInput { Name = "Receipt", InputType = InputType.File, Label = "Receipt", Placeholder = "Upload receipt", Required = true }, 595if (updatedInput.InputType == InputType.File && files.Count > 0) 654InputType = InputType.Text, 687InputType = InputType.Choice, 710InputType = InputType.Choice, 749InputType = InputType.Choice, 780InputType = InputType.Choice, 1074InputType = InputType.File, 1119InputType = InputType.File,
Terminals.AppHost (1)
TerminalInteractionCommands.cs (1)
301InputType = InputType.Number,