456 references to InputType
Aspire.Hosting (65)
ApplicationModel\ParameterResource.cs (2)
604InputType = 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)
268else if (maxFileUploadSize.HasValue && input.InputType == InputType.File) 289internal static Aspire.DashboardService.Proto.V1.InputType MapInputType(Aspire.Hosting.InputType inputType) 293Aspire.Hosting.InputType.Text => Aspire.DashboardService.Proto.V1.InputType.Text, 294Aspire.Hosting.InputType.SecretText => Aspire.DashboardService.Proto.V1.InputType.SecretText, 295Aspire.Hosting.InputType.Choice => Aspire.DashboardService.Proto.V1.InputType.Choice, 296Aspire.Hosting.InputType.Boolean => Aspire.DashboardService.Proto.V1.InputType.Boolean, 297Aspire.Hosting.InputType.Number => Aspire.DashboardService.Proto.V1.InputType.Number, 298Aspire.Hosting.InputType.File => Aspire.DashboardService.Proto.V1.InputType.File, 303public static Aspire.Hosting.InputType MapInputType(Aspire.DashboardService.Proto.V1.InputType inputType) 307Aspire.DashboardService.Proto.V1.InputType.Text => InputType.Text, 308Aspire.DashboardService.Proto.V1.InputType.SecretText => InputType.SecretText, 309Aspire.DashboardService.Proto.V1.InputType.Choice => InputType.Choice, 310Aspire.DashboardService.Proto.V1.InputType.Boolean => InputType.Boolean, 311Aspire.DashboardService.Proto.V1.InputType.Number => InputType.Number, 312Aspire.DashboardService.Proto.V1.InputType.File => InputType.File,
Dashboard\DashboardServiceData.cs (6)
247public record InputDto(string Name, string Value, InputType InputType, IReadOnlyList<InputFileDto>? Files = null); 266var files = input.InputType == InputType.File 271else if (input.InputType == InputType.File) 323if (requestInput.InputType == InputType.Boolean) 328if (!string.Equals(modelInput.Value ?? string.Empty, incomingValue ?? string.Empty) || requestInput.InputType == InputType.File) 333if (requestInput.InputType == InputType.File)
IInteractionService.cs (10)
409public required InputType InputType { get; init; } 421/// Gets or sets the options for the input. Only used by <see cref="InputType.Choice"/> inputs. 452/// Gets a value indicating whether a custom choice is allowed. Only used by <see cref="InputType.Choice"/> inputs. 479/// Gets or sets a value indicating whether multiple files can be selected. Only used by <see cref="InputType.File"/> inputs. 484/// Gets or sets the file type filter for <see cref="InputType.File"/> inputs. 492/// Gets or sets the maximum file size in bytes for <see cref="InputType.File"/> inputs. 511/// Gets the files associated with this <see cref="InputType.File"/> input. 526/// Gets the files associated with this <see cref="InputType.File"/> input. 604/// Represents a file selected by the user for an <see cref="InputType.File"/> input. 784/// <see cref="InputType.Number"/> accepts floating point values. Use <see cref="GetDouble(string)"/> for decimal values,
InteractionService.cs (11)
151return await PromptInputAsync(title, message, new InteractionInput { Name = InteractionHelpers.LabelToName(inputLabel), InputType = InputType.Text, Label = inputLabel, Required = true, Placeholder = placeHolder }, options, cancellationToken).ConfigureAwait(false); 173var hasFileInputs = inputs.Any(input => input.InputType == InputType.File); 210.Where(input => input.InputType == InputType.File) 228if (input.InputType == InputType.Choice) 568inputsInfo.Inputs.Any(input => input.InputType == InputType.File)) 615if (input.InputType == InputType.File) 642case InputType.Text: 643case InputType.SecretText: 651case InputType.Choice: 661case InputType.Boolean: 667case InputType.Number:
Orchestrator\ParameterProcessor.cs (4)
346InputType = InputType.Boolean, 386InputType = InputType.Boolean, 496InputType = InputType.Boolean, 558InputType = InputType.Boolean,
ParameterResourceBuilderExtensions.cs (2)
297InputType = options.InputType ?? (parameter.Secret ? InputType.SecretText : InputType.Text),
Pipelines\PipelineActivityReporter.cs (1)
490if (matchingInput.InputType == InputType.File)
Aspire.Hosting.Azure (23)
AzureProvisioningController.cs (9)
277InputType = InputType.Choice, 298InputType = InputType.Choice, 319InputType = InputType.Choice, 337InputType = InputType.Choice, 357InputType = InputType.Text, 382InputType = InputType.Choice, 400InputType = InputType.Boolean, 704InputType = useChoiceInput ? InputType.Choice : InputType.Text,
Provisioning\Internal\PublishModeProvisioningContextProvider.cs (7)
124InputType = InputType.Text, 192InputType = InputType.Choice, 218InputType = InputType.SecretText, 291InputType = InputType.Choice, 317InputType = InputType.SecretText, 385InputType = InputType.Choice, 483InputType = InputType.Choice,
Provisioning\Internal\RunModeProvisioningContextProvider.cs (7)
349InputType = InputType.Choice, 375InputType = allowSubscriptionEdit ? InputType.Choice : InputType.Text, 410InputType = useTextResourceGroupInput ? InputType.Text : InputType.Choice, 451InputType = InputType.Choice, 492InputType = InputType.Text,
Aspire.Hosting.Azure.Tests (35)
AzureDeployerTests.cs (9)
250Assert.Equal(InputType.Choice, input.InputType); 267Assert.Equal(InputType.Choice, input.InputType); 285Assert.Equal(InputType.Choice, input.InputType); 303Assert.Equal(InputType.Choice, input.InputType); 1010Assert.Equal(InputType.Text, input.InputType); 1060InputType = InputType.Number, 1083Assert.Equal(InputType.Number, input.InputType); 1273Assert.Equal(InputType.Text, input.InputType); 1318Assert.Equal(InputType.Text, input.InputType);
AzureEnvironmentResourceExtensionsTests.cs (13)
279Assert.Equal(InputType.Text, suffix.InputType); 311new() { Name = "tenantId", InputType = InputType.Text, Value = "87654321-4321-4321-4321-210987654321" }, 312new() { Name = "subscriptionId", InputType = InputType.Text, Value = "12345678-1234-1234-1234-123456789012" }, 313new() { Name = "resourceGroup", InputType = InputType.Text, Value = "test-rg" }, 314new() { Name = "location", InputType = InputType.Text, Value = "westus2" }, 315new() { Name = AzureBicepResource.KnownParameters.TenantResourceSuffix, InputType = InputType.Text, Value = "dev-a" } 425Assert.Equal(InputType.Choice, input.InputType); 435Assert.Equal(InputType.Choice, input.InputType); 446Assert.Equal(InputType.Choice, input.InputType); 457Assert.Equal(InputType.Choice, input.InputType); 1014Assert.Equal(InputType.Boolean, confirmDeleteArgument.InputType); 3312Assert.Equal(InputType.Choice, locationInput.InputType); 5343InputType = InputType.Text,
ProvisioningContextProviderTests.cs (13)
43Assert.Equal(InputType.Text, input.InputType); 164Assert.Equal(InputType.Text, input.InputType); 554Assert.Equal(InputType.Choice, input.InputType); 561Assert.Equal(InputType.Choice, input.InputType); 568Assert.Equal(InputType.Text, input.InputType); 575Assert.Equal(InputType.Choice, input.InputType); 709Assert.Equal(InputType.Choice, input.InputType); 716Assert.Equal(InputType.Choice, input.InputType); 724Assert.Equal(InputType.Text, input.InputType); 731Assert.Equal(InputType.Choice, input.InputType); 851Assert.Equal(InputType.Choice, subscriptionInput.InputType); 1001Assert.Equal(InputType.Choice, subscriptionInput.InputType); 1048Assert.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)
837InputType = 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)
93Assert.Equal(InputType.Text, argument.InputType); 117InputType = InputType.Text, 182InputType = InputType.Text,
PromptAgentTests.cs (1)
198InputType = InputType.Text,
Aspire.Hosting.RemoteHost.Tests (1)
AtsExportsTests.cs (1)
179Assert.Equal(InputType.File, input.InputType);
Aspire.Hosting.Tests (202)
AddParameterTests.cs (16)
737InputType = InputType.Number, 760Assert.Equal(InputType.Text, input.InputType); 826Assert.Equal(InputType.SecretText, input.InputType); 843InputType = InputType.Number, 854Assert.Equal(InputType.Number, input.InputType); 869InputType = InputType.Text, 887InputType = InputType.Text, 905InputType = InputType.Text, 923InputType = InputType.Number, 935Assert.Equal(InputType.Number, input.InputType); 950InputType = InputType.Number, 991InputType = InputType.Number, 1001Assert.Equal(InputType.Number, input.InputType); 1017[nameof(InteractionInput.InputType)] = InputType.Number, 1033Assert.Equal(InputType.Number, input.InputType); 1063Assert.Equal(InputType.SecretText, input.InputType);
Backchannel\AuxiliaryBackchannelRpcTargetTests.cs (15)
220InputType = InputType.Text, 315Assert.Equal(nameof(InputType.Text), argumentInput.InputType); 2315InputType = InputType.Text 2320InputType = InputType.Number 2325InputType = InputType.Boolean 2380InputType = InputType.Text 2431InputType = InputType.Text 2436InputType = InputType.Number 2441InputType = InputType.Boolean 2488InputType = InputType.Choice, 2498InputType = InputType.Choice, 2562InputType = InputType.Choice, 2572InputType = InputType.Choice, 2637InputType = InputType.Text 2685InputType = InputType.Text
Dashboard\DashboardServiceTests.cs (18)
180InputType = InputType.Text, 305InputType = InputType.Text 310InputType = InputType.Number 368InputType = InputType.Text, 425InputType = InputType.Text 571new InteractionInput { Name = "Input", InputType = InputType.Text }); 771new InteractionInput { Name = "Input", InputType = InputType.Text, Label = "Input" }); 973[InlineData(InputType.File, 0, -1, 0)] // File, no input max, no server limit → 0 974[InlineData(InputType.File, 0, 50, 50)] // File, no input max, 50 MB server limit → 50 MB 975[InlineData(InputType.File, 5, 100, 5)] // File, 5 MB input max below 100 MB server → uses input 976[InlineData(InputType.File, 200, 100, 100)] // File, 200 MB input max exceeds 100 MB server → capped 977[InlineData(InputType.File, 50, -1, 50)] // File, 50 MB input max, no server limit → uses input 978[InlineData(InputType.Text, 0, 100, 0)] // Non-file, server limit not applied → 0 980InputType inputType, int inputMaxFileSizeMB, int serverLimitMB, int expectedMB) 1240var fileInput = new InteractionInput { Name = "File", InputType = InputType.File }; 1241var textInput = new InteractionInput { Name = "Text", InputType = InputType.Text }; 1280var input = new InteractionInput { Name = "File", InputType = InputType.File, Required = true, AllowMultipleFiles = true }; 1345var input = new InteractionInput { Name = "File", InputType = InputType.File };
InteractionServiceTests.cs (78)
466var input = new InteractionInput { Name = "Value", Label = "Value", InputType = InputType.Text, }; 488inputs: [new InputDto("Value", string.Empty, InputType.Text)]); 503var input = new InteractionInput { Name = "Value", Label = "Value", InputType = InputType.Text, Required = true }; 512inputs: [new InputDto("Value", string.Empty, InputType.Text)]); 526var input = new InteractionInput { Name = "Value", Label = "Value", InputType = InputType.Choice, Options = [KeyValuePair.Create("first", "First option!"), KeyValuePair.Create("second", "Second option!")] }; 535inputs: [new InputDto("Value", "not-in-options", InputType.Choice)]); 549var input = new InteractionInput { Name = "Value", Label = "Value", InputType = InputType.Choice, AllowCustomChoice = true, Options = [KeyValuePair.Create("first", "First option!"), KeyValuePair.Create("second", "Second option!")] }; 558inputs: [new InputDto("Value", "not-in-options", InputType.Choice)]); 570var input = new InteractionInput { Name = "Value", Label = "Value", InputType = InputType.Number }; 579inputs: [new InputDto("Value", "one", InputType.Number)]); 593var input = new InteractionInput { Name = "Value", Label = "Value", InputType = InputType.Boolean }; 602inputs: [new InputDto("Value", "maybe", InputType.Number)]); 612[InlineData(InputType.Text, null)] 613[InlineData(InputType.Text, 1)] 614[InlineData(InputType.Text, 10)] 615[InlineData(InputType.Text, InteractionHelpers.DefaultMaxLength)] 616[InlineData(InputType.SecretText, 10)] 617public async Task PromptInputsAsync_TextExceedsLimit_ReturnErrors(InputType inputType, int? maxLength) 622static async Task TextExceedsLimitCoreAsync(InputType inputType, int? maxLength, bool success) 637inputs: [new InputDto("Value", newValue, InputType.Text)]); 662InputType = InputType.Text, 669Assert.Equal(InputType.Text, input.InputType); 682InputType = InputType.Text, 700InputType = InputType.Text, 735InputType = InputType.Text, 747new InteractionInput { Name = "Username", Label = "Username", InputType = InputType.Text }, 748new InteractionInput { Name = "Password", Label = "Password", InputType = InputType.SecretText }, 749new InteractionInput { Name = "RememberMe", Label = "Remember Me", InputType = InputType.Boolean } 787new InteractionInput { Name = "UserName", Label = "User Name", InputType = InputType.Text }, 788new InteractionInput { Name = "EmailAddress", Label = "Email Address", InputType = InputType.Text }, 789new InteractionInput { Name = "Age", InputType = InputType.Number } 821new InteractionInput { Name = "ExplicitName", Label = "Explicit", InputType = InputType.Text }, 822new InteractionInput { Name = "GeneratedLabel", Label = "Generated Label", InputType = InputType.Text }, 823new InteractionInput { Name = "AnotherExplicit", Label = "Another", InputType = InputType.Text } 844new InteractionInput { Name = "Duplicate", Label = "First", InputType = InputType.Text }, 845new InteractionInput { Name = "Duplicate", Label = "Second", InputType = InputType.Text } 859new InteractionInput { Name = "Username", Label = "First", InputType = InputType.Text }, 860new InteractionInput { Name = "USERNAME", Label = "Second", InputType = InputType.Text } 874new InteractionInput { Name = "Input1", InputType = InputType.Text }, 875new InteractionInput { Name = "Input2", InputType = InputType.Text }, 876new InteractionInput { Name = "Input3", InputType = InputType.Text } 907new InteractionInput { Name = "SpecialInput", Label = "!@#$%^&*()", InputType = InputType.Text }, 908new InteractionInput { Name = "EmptyLabel", Label = "", InputType = InputType.Text }, 909new InteractionInput { Name = "WhitespaceLabel", Label = " ", InputType = InputType.Text } 944new InteractionInput { Name = "Valid", Label = "Valid", InputType = InputType.Text } 960new InteractionInput { Name = "Username", Label = "Username", InputType = InputType.Text }, 961new InteractionInput { Name = "Password", Label = "Password", InputType = InputType.SecretText } 974new InputDto("Username", "testuser", InputType.Text), 975new InputDto("Password", "testpass", InputType.SecretText) 1017InputType = InputType.Choice, 1067new InteractionInput { Name = "Username", Label = "Username", InputType = InputType.Text }, 1071InputType = InputType.Choice, 1098inputs: [new InputDto("Username", "testuser", InputType.Text)]).DefaultTimeout(); 1122new InteractionInput { Name = "Email", Label = "Email", InputType = InputType.Text, Required = true }, 1123new InteractionInput { Name = "Age", Label = "Age", InputType = InputType.Number, Required = true } 1156new InputDto("Email", "test@example.com", InputType.Text), 1157new InputDto("Age", "25", InputType.Number) 1178InputType = InputType.Choice, 1190new InteractionInput { Name = "Age", Label = "Age", InputType = InputType.Number, Required = true } 1211InputType = InputType.Choice, 1223new InteractionInput { Name = "Age", Label = "Age", InputType = InputType.Number, Required = true } 1457var input = new InteractionInput { Name = "File", Label = "File", InputType = InputType.File, Required = true }; 1467inputs: [new InputDto("File", "file-content-here", InputType.File, Files: [new InputFileDto("file1", "test.txt", "/tmp/test.txt")])]); 1486var input = new InteractionInput { Name = "File", Label = "File", InputType = InputType.File }; 1511var input = new InteractionInput { Name = "File", Label = "File", InputType = InputType.File }; 1530var input = new InteractionInput { Name = "Text", InputType = InputType.Text }; 1538inputs: [new InputDto("Text", "value", InputType.Text)]); 1554var input = new InteractionInput { Name = "Text", InputType = InputType.Text }; 1577var input = new InteractionInput { Name = "File", Label = "File", InputType = InputType.File, Required = true }; 1586inputs: [new InputDto("File", string.Empty, InputType.File)]); 1600var input = new InteractionInput { Name = "File", Label = "File", InputType = InputType.File, Required = false }; 1609inputs: [new InputDto("File", string.Empty, InputType.File)]); 1628InputType = InputType.File, 1643inputs: [new InputDto("File", "files", InputType.File, files)]); 1666InputType = InputType.File, 1673InputType = InputType.File, 1684InputType = InputType.File, 1697InputType = InputType.File
Orchestrator\ParameterProcessorTests.cs (23)
298Assert.Equal(InputType.Text, input.InputType); 304Assert.Equal(InputType.Text, input.InputType); 310Assert.Equal(InputType.SecretText, input.InputType); 316Assert.Equal(InputType.Boolean, input.InputType); 621Assert.Equal(InputType.Text, param1Input.InputType); 627Assert.Equal(InputType.Text, param2Input.InputType); 664Assert.Equal(InputType.SecretText, secretInput.InputType); 700Assert.Equal(InputType.Boolean, saveCheckbox.InputType); 739Assert.Equal(InputType.Boolean, saveCheckbox.InputType); 1315InputType = InputType.Number, 1347InputType = InputType.Text, 1354InputType = InputType.Choice, 1393InputType = InputType.Text, 1401InputType = InputType.Choice, 1435InputType = InputType.Choice, 1488InputType = InputType.Text, 1495InputType = InputType.Choice, 1517static InteractionInput CreateInput(string name) => new() { Name = name, InputType = InputType.Text, Label = name }; 1530InputType = InputType.Choice, 1572InputType = InputType.Text, 1854InputType = InputType.Text, 1860InputType = InputType.Boolean, 1872InputType = InputType.Boolean,
Publishing\PipelineActivityReporterTests.cs (2)
652InputType = InputType.File, 693InputType = InputType.File
ResourceCommandServiceTests.cs (35)
532InputType = InputType.Text 537InputType = InputType.Number 547InputType = InputType.Text, 553InputType = InputType.Number, 590InputType = InputType.Text, 631InputType = InputType.Text, 671InputType = InputType.SecretText, 682InputType = InputType.SecretText, 713InputType = InputType.Text 718InputType = InputType.Number, 724InputType = InputType.Boolean, 758InputType = InputType.Text 789InputType = InputType.Text 820InputType = InputType.Boolean, 852InputType = InputType.Choice, 893InputType = InputType.Boolean, 956InputType = InputType.Text, 998InputType = InputType.Choice, 1005InputType = InputType.Choice, 1071InputType = InputType.Choice, 1078InputType = InputType.Choice, 1096InputType = InputType.Choice, 1163InputType = InputType.Choice, 1170InputType = InputType.Choice, 1233InputType = InputType.Text, 1285InputType = InputType.Text, 1335InputType = InputType.Text 1340InputType = InputType.Text, 1443InputType = InputType.Boolean, 1450InputType = InputType.Number, 1515InputType = InputType.Text, 1626InputType = InputType.Text, 1632InputType = InputType.Text, 1643InputType = InputType.Text, 1683InputType = 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)
55InputType = 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)
150InputType = InputType.Text, 158InputType = InputType.Number, 165InputType = InputType.Boolean 208InputType = InputType.Text, 218InputType = InputType.Number, 226InputType = InputType.Boolean, 234InputType = InputType.Choice, 248InputType = InputType.SecretText, 303InputType = InputType.Text, 313InputType = InputType.Choice, 327InputType = InputType.Number, 335InputType = InputType.Boolean, 351.Where(i => i.InputType is InputType.Text or InputType.SecretText or InputType.Choice) 353NumberCount = inputsWithValues.Count(i => i.InputType == InputType.Number), 354BooleanCount = inputsWithValues.Count(i => i.InputType == InputType.Boolean), 394InputType = InputType.Choice, 409InputType = InputType.Choice, 452InputType = InputType.Number, 461InputType = InputType.Choice, 554InputType = InputType.Choice, 582InputType = InputType.Text, 656InputType = InputType.Text, 665InputType = InputType.Text, 711InputType = InputType.Choice, 725InputType = InputType.Number, 757InputType = InputType.Choice, 791InputType = InputType.Text, 800InputType = InputType.Text, 829InputType = InputType.Text, 838InputType = InputType.Text, 847InputType = InputType.Text, 876InputType = InputType.Text, 886InputType = InputType.Text, 896InputType = InputType.Text, 1063InputType = InputType.Boolean, 1071InputType = InputType.Number, 1080InputType = InputType.Number, 1090InputType = InputType.Boolean, 1098InputType = InputType.Number, 1107InputType = InputType.Boolean, 1115InputType = InputType.Number, 1124InputType = InputType.Boolean, 1132InputType = InputType.Number, 1142InputType = InputType.Boolean, 1150InputType = InputType.Number, 1159InputType = InputType.Number, 1389InputType = InputType.Text, 1399InputType = InputType.Number, 1408InputType = InputType.Boolean, 1421InputType = InputType.Text,
InteractionCommands.cs (37)
75var 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." }; 76var 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 }; 88var 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 }; 92InputType = InputType.Choice, 103InputType = InputType.Choice, 162InputType = InputType.Choice, 175InputType = InputType.Choice, 214InputType = InputType.Choice, 242InputType = InputType.Choice, 252var numberOfPeopleInput = new InteractionInput { Name = "NumberOfPeople", InputType = InputType.Number, Label = "Number of people", Placeholder = "Enter number of people", Value = "2", Required = true }; 255new 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 }, 256new InteractionInput { Name = "Password", InputType = InputType.SecretText, Label = "Password", Description = "The password for the reservation. Maximum 20 characters.", Placeholder = "Enter password", Required = true, MaxLength = 20 }, 260new InteractionInput { Name = "RememberMe", InputType = InputType.Boolean, Label = "Remember me", Placeholder = "What does this do?", Required = true }, 302InputType = InputType.Text, 311InputType = InputType.SecretText, 320InputType = InputType.Choice, 331InputType = InputType.Choice, 342InputType = InputType.Number, 351InputType = InputType.Boolean, 360InputType = InputType.File, 381InputType = InputType.Choice, 393InputType = InputType.Choice, 441InputType = InputType.Choice, 451InputType = InputType.Choice, 462InputType = InputType.Text, 520InputType = InputType.Choice, 532InputType = InputType.Choice, 550InputType = InputType.Choice, 584new InteractionInput { Name = "Receipt", InputType = InputType.File, Label = "Receipt", Placeholder = "Upload receipt", Required = true }, 611if (updatedInput.InputType == InputType.File && files.Count > 0) 670InputType = InputType.Text, 703InputType = InputType.Choice, 726InputType = InputType.Choice, 765InputType = InputType.Choice, 796InputType = InputType.Choice, 1090InputType = InputType.File, 1135InputType = InputType.File,
Terminals.AppHost (1)
TerminalInteractionCommands.cs (1)
301InputType = InputType.Number,
TestShop.AppHost (5)
AppHost.cs (5)
28InputType = InputType.Choice, 44InputType = InputType.Choice, 61InputType = InputType.Number, 72InputType = InputType.Boolean, 82InputType = InputType.File,