415 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)
244else if (maxFileUploadSize.HasValue && input.InputType == InputType.File) 261internal static Aspire.DashboardService.Proto.V1.InputType MapInputType(Aspire.Hosting.InputType inputType) 265Aspire.Hosting.InputType.Text => Aspire.DashboardService.Proto.V1.InputType.Text, 266Aspire.Hosting.InputType.SecretText => Aspire.DashboardService.Proto.V1.InputType.SecretText, 267Aspire.Hosting.InputType.Choice => Aspire.DashboardService.Proto.V1.InputType.Choice, 268Aspire.Hosting.InputType.Boolean => Aspire.DashboardService.Proto.V1.InputType.Boolean, 269Aspire.Hosting.InputType.Number => Aspire.DashboardService.Proto.V1.InputType.Number, 270Aspire.Hosting.InputType.File => Aspire.DashboardService.Proto.V1.InputType.File, 275public static Aspire.Hosting.InputType MapInputType(Aspire.DashboardService.Proto.V1.InputType inputType) 279Aspire.DashboardService.Proto.V1.InputType.Text => InputType.Text, 280Aspire.DashboardService.Proto.V1.InputType.SecretText => InputType.SecretText, 281Aspire.DashboardService.Proto.V1.InputType.Choice => InputType.Choice, 282Aspire.DashboardService.Proto.V1.InputType.Boolean => InputType.Boolean, 283Aspire.DashboardService.Proto.V1.InputType.Number => InputType.Number, 284Aspire.DashboardService.Proto.V1.InputType.File => InputType.File,
Dashboard\DashboardServiceData.cs (6)
239public record InputDto(string Name, string Value, InputType InputType, IReadOnlyList<InputFileDto>? Files = null); 258var files = input.InputType == InputType.File 263else if (input.InputType == InputType.File) 315if (requestInput.InputType == InputType.Boolean) 320if (!string.Equals(modelInput.Value ?? string.Empty, incomingValue ?? string.Empty) || requestInput.InputType == InputType.File) 325if (requestInput.InputType == InputType.File)
IInteractionService.cs (10)
336public required InputType InputType { get; init; } 348/// Gets or sets the options for the input. Only used by <see cref="InputType.Choice"/> inputs. 379/// Gets a value indicating whether a custom choice is allowed. Only used by <see cref="InputType.Choice"/> inputs. 406/// Gets or sets a value indicating whether multiple files can be selected. Only used by <see cref="InputType.File"/> inputs. 411/// Gets or sets the file type filter for <see cref="InputType.File"/> inputs. 419/// Gets or sets the maximum file size in bytes for <see cref="InputType.File"/> inputs. 438/// Gets the files associated with this <see cref="InputType.File"/> input. 453/// Gets the files associated with this <see cref="InputType.File"/> input. 531/// Represents a file selected by the user for an <see cref="InputType.File"/> input. 711/// <see cref="InputType.Number"/> accepts floating point values. Use <see cref="GetDouble(string)"/> for decimal values,
InteractionService.cs (11)
140return await PromptInputAsync(title, message, new InteractionInput { Name = InteractionHelpers.LabelToName(inputLabel), InputType = InputType.Text, Label = inputLabel, Required = true, Placeholder = placeHolder }, options, cancellationToken).ConfigureAwait(false); 162var hasFileInputs = inputs.Any(input => input.InputType == InputType.File); 199.Where(input => input.InputType == InputType.File) 217if (input.InputType == InputType.Choice) 518inputsInfo.Inputs.Any(input => input.InputType == InputType.File)) 565if (input.InputType == InputType.File) 592case InputType.Text: 593case InputType.SecretText: 601case InputType.Choice: 611case InputType.Boolean: 617case InputType.Number:
Orchestrator\ParameterProcessor.cs (4)
239InputType = InputType.Boolean, 279InputType = InputType.Boolean, 385InputType = InputType.Boolean, 417InputType = InputType.Boolean,
ParameterResourceBuilderExtensions.cs (2)
267InputType = options.InputType ?? (parameter.Secret ? InputType.SecretText : InputType.Text),
Pipelines\PipelineActivityReporter.cs (1)
492if (matchingInput.InputType == InputType.File)
Aspire.Hosting.Azure (20)
AzureProvisioningController.cs (8)
278InputType = InputType.Choice, 299InputType = InputType.Choice, 320InputType = InputType.Choice, 338InputType = InputType.Choice, 360InputType = InputType.Choice, 378InputType = InputType.Boolean, 681InputType = useChoiceInput ? InputType.Choice : InputType.Text,
Provisioning\Internal\PublishModeProvisioningContextProvider.cs (6)
161InputType = InputType.Choice, 187InputType = InputType.SecretText, 260InputType = InputType.Choice, 286InputType = InputType.SecretText, 354InputType = InputType.Choice, 452InputType = InputType.Choice,
Provisioning\Internal\RunModeProvisioningContextProvider.cs (6)
338InputType = InputType.Choice, 364InputType = allowSubscriptionEdit ? InputType.Choice : InputType.Text, 399InputType = useTextResourceGroupInput ? InputType.Text : InputType.Choice, 440InputType = InputType.Choice,
Aspire.Hosting.Azure.Tests (27)
AzureDeployerTests.cs (9)
64Assert.Equal(InputType.Choice, input.InputType); 81Assert.Equal(InputType.Choice, input.InputType); 99Assert.Equal(InputType.Choice, input.InputType); 117Assert.Equal(InputType.Choice, input.InputType); 762Assert.Equal(InputType.Text, input.InputType); 812InputType = InputType.Number, 835Assert.Equal(InputType.Number, input.InputType); 1025Assert.Equal(InputType.Text, input.InputType); 1070Assert.Equal(InputType.Text, input.InputType);
AzureEnvironmentResourceExtensionsTests.cs (7)
129Assert.Equal(InputType.Choice, input.InputType); 139Assert.Equal(InputType.Choice, input.InputType); 150Assert.Equal(InputType.Choice, input.InputType); 161Assert.Equal(InputType.Choice, input.InputType); 671Assert.Equal(InputType.Boolean, confirmDeleteArgument.InputType); 2969Assert.Equal(InputType.Choice, locationInput.InputType); 4988InputType = InputType.Text,
ProvisioningContextProviderTests.cs (11)
356Assert.Equal(InputType.Choice, input.InputType); 363Assert.Equal(InputType.Choice, input.InputType); 370Assert.Equal(InputType.Text, input.InputType); 377Assert.Equal(InputType.Choice, input.InputType); 509Assert.Equal(InputType.Choice, input.InputType); 516Assert.Equal(InputType.Choice, input.InputType); 524Assert.Equal(InputType.Text, input.InputType); 531Assert.Equal(InputType.Choice, input.InputType); 649Assert.Equal(InputType.Choice, subscriptionInput.InputType); 796Assert.Equal(InputType.Choice, subscriptionInput.InputType); 842Assert.Equal(InputType.Text, resourceGroupInput.InputType);
Aspire.Hosting.Browsers (5)
BrowserLogsConfigurationManager.cs (5)
49InputType = InputType.Choice, 64InputType = InputType.Choice, 84InputType = InputType.Choice, 108InputType = InputType.Choice, 132InputType = InputType.Boolean,
Aspire.Hosting.Browsers.Tests (10)
BrowserLogsBuilderExtensionsTests.cs (5)
1737new InteractionInput { Name = "scope", InputType = InputType.Choice, Value = scope }, 1738new InteractionInput { Name = "browser", InputType = InputType.Choice, Value = browser }, 1739new InteractionInput { Name = "userDataMode", InputType = InputType.Choice, Value = userDataMode }, 1740new InteractionInput { Name = "profile", InputType = InputType.Choice, Value = profile }, 1741new InteractionInput { Name = "saveToUserSecrets", InputType = InputType.Boolean, Value = saveToUserSecrets },
src\Aspire.Hosting.Browsers\BrowserLogsConfigurationManager.cs (5)
49InputType = InputType.Choice, 64InputType = InputType.Choice, 84InputType = InputType.Choice, 108InputType = InputType.Choice, 132InputType = InputType.Boolean,
Aspire.Hosting.EntityFrameworkCore (1)
EFResourceBuilderExtensions.cs (1)
756InputType = InputType.Text,
Aspire.Hosting.Foundry (2)
HostedAgent\HostedAgentBuilderExtension.cs (1)
329InputType = InputType.Text,
PromptAgent\PromptAgentBuilderExtensions.cs (1)
121InputType = InputType.Text,
Aspire.Hosting.Foundry.Tests (4)
HostedAgentExtensionTests.cs (3)
89Assert.Equal(InputType.Text, argument.InputType); 113InputType = InputType.Text, 178InputType = InputType.Text,
PromptAgentTests.cs (1)
110InputType = InputType.Text,
Aspire.Hosting.RemoteHost.Tests (1)
AtsExportsTests.cs (1)
179Assert.Equal(InputType.File, input.InputType);
Aspire.Hosting.Tests (185)
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)
175InputType = InputType.Text, 300InputType = InputType.Text 305InputType = InputType.Number 363InputType = InputType.Text, 420InputType = InputType.Text 564new InteractionInput { Name = "Input", InputType = InputType.Text }); 612new InteractionInput { Name = "Input", InputType = InputType.Text, Label = "Input" }); 812[InlineData(InputType.File, 0, -1, 0)] // File, no input max, no server limit → 0 813[InlineData(InputType.File, 0, 50, 50)] // File, no input max, 50 MB server limit → 50 MB 814[InlineData(InputType.File, 5, 100, 5)] // File, 5 MB input max below 100 MB server → uses input 815[InlineData(InputType.File, 200, 100, 100)] // File, 200 MB input max exceeds 100 MB server → capped 816[InlineData(InputType.File, 50, -1, 50)] // File, 50 MB input max, no server limit → uses input 817[InlineData(InputType.Text, 0, 100, 0)] // Non-file, server limit not applied → 0 819InputType inputType, int inputMaxFileSizeMB, int serverLimitMB, int expectedMB) 1078var fileInput = new InteractionInput { Name = "File", InputType = InputType.File }; 1079var textInput = new InteractionInput { Name = "Text", InputType = InputType.Text }; 1117var input = new InteractionInput { Name = "File", InputType = InputType.File, Required = true, AllowMultipleFiles = true }; 1181var 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)
221Assert.Equal(InputType.Text, input.InputType); 227Assert.Equal(InputType.Text, input.InputType); 233Assert.Equal(InputType.SecretText, input.InputType); 239Assert.Equal(InputType.Boolean, input.InputType); 460Assert.Equal(InputType.Text, param1Input.InputType); 466Assert.Equal(InputType.Text, param2Input.InputType); 503Assert.Equal(InputType.SecretText, secretInput.InputType); 539Assert.Equal(InputType.Boolean, saveCheckbox.InputType); 578Assert.Equal(InputType.Boolean, saveCheckbox.InputType); 1239InputType = InputType.Text, 1245InputType = InputType.Boolean, 1257InputType = InputType.Boolean,
Publishing\PipelineActivityReporterTests.cs (2)
654InputType = InputType.File, 695InputType = InputType.File
ResourceCommandServiceTests.cs (33)
530InputType = InputType.Text 535InputType = InputType.Number 545InputType = InputType.Text, 551InputType = InputType.Number, 588InputType = InputType.Text, 629InputType = InputType.Text, 669InputType = InputType.SecretText, 680InputType = InputType.SecretText, 711InputType = InputType.Text 716InputType = InputType.Number, 722InputType = InputType.Boolean, 756InputType = InputType.Text 787InputType = InputType.Text 818InputType = InputType.Boolean, 850InputType = InputType.Choice, 891InputType = InputType.Boolean, 954InputType = InputType.Text, 996InputType = InputType.Choice, 1003InputType = InputType.Choice, 1069InputType = InputType.Choice, 1076InputType = InputType.Choice, 1094InputType = InputType.Choice, 1161InputType = InputType.Choice, 1168InputType = InputType.Choice, 1231InputType = InputType.Text, 1283InputType = InputType.Text, 1338InputType = InputType.Boolean, 1345InputType = InputType.Number, 1410InputType = InputType.Text, 1521InputType = InputType.Text, 1527InputType = InputType.Text, 1538InputType = InputType.Text, 1578InputType = InputType.Text,
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)
50InputType = InputType.Text, 58InputType = InputType.Text, 66InputType = InputType.Choice, 79InputType = InputType.Choice, 101InputType = InputType.File, 152InputType = InputType.Text, 175InputType = InputType.SecretText, 190InputType = InputType.Choice, 211InputType = InputType.Boolean, 225InputType = InputType.Number, 240InputType = InputType.Choice,
Stress.AppHost (82)
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, 985InputType = InputType.Boolean, 993InputType = InputType.Number, 1002InputType = InputType.Number, 1012InputType = InputType.Boolean, 1020InputType = InputType.Number, 1029InputType = InputType.Boolean, 1037InputType = InputType.Number, 1046InputType = InputType.Boolean, 1054InputType = InputType.Number, 1064InputType = InputType.Boolean, 1072InputType = InputType.Number, 1081InputType = InputType.Number, 1311InputType = InputType.Text, 1321InputType = InputType.Number, 1330InputType = InputType.Boolean, 1343InputType = InputType.Text,
InteractionCommands.cs (30)
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", Placeholder = "Enter name", Required = true, MaxLength = 50 }, 240new InteractionInput { Name = "Password", InputType = InputType.SecretText, Label = "Password", Placeholder = "Enter password", Required = true, MaxLength = 20 }, 244new InteractionInput { Name = "RememberMe", InputType = InputType.Boolean, Label = "Remember me", Placeholder = "What does this do?", Required = true }, 284InputType = InputType.Choice, 296InputType = InputType.Choice, 344InputType = InputType.Choice, 354InputType = InputType.Choice, 365InputType = InputType.Text, 423InputType = InputType.Choice, 435InputType = InputType.Choice, 453InputType = InputType.Choice, 487new InteractionInput { Name = "Receipt", InputType = InputType.File, Label = "Receipt", Placeholder = "Upload receipt", Required = true }, 514if (updatedInput.InputType == InputType.File && files.Count > 0) 573InputType = InputType.Text, 606InputType = InputType.Choice, 629InputType = InputType.Choice, 668InputType = InputType.Choice, 699InputType = InputType.Choice, 993InputType = InputType.File, 1038InputType = InputType.File,