309 writes to InputType
Aspire.Hosting (10)
ApplicationModel\ParameterResource.cs (1)
604
InputType
= Secret ? InputType.SecretText : InputType.Text,
ApplicationModel\ResourceCommandService.cs (1)
806
InputType
= input.InputType,
Ats\InteractionExports.cs (2)
262
InputType
= input.InputType,
311
InputType
= inputType,
InteractionService.cs (1)
144
return await PromptInputAsync(title, message, new InteractionInput { Name = InteractionHelpers.LabelToName(inputLabel),
InputType
= InputType.Text, Label = inputLabel, Required = true, Placeholder = placeHolder }, options, cancellationToken).ConfigureAwait(false);
Orchestrator\ParameterProcessor.cs (4)
346
InputType
= InputType.Boolean,
386
InputType
= InputType.Boolean,
496
InputType
= InputType.Boolean,
528
InputType
= InputType.Boolean,
ParameterResourceBuilderExtensions.cs (1)
297
InputType
= options.InputType ?? (parameter.Secret ? InputType.SecretText : InputType.Text),
Aspire.Hosting.Azure (20)
AzureProvisioningController.cs (8)
277
InputType
= InputType.Choice,
298
InputType
= InputType.Choice,
319
InputType
= InputType.Choice,
337
InputType
= InputType.Choice,
357
InputType
= InputType.Text,
382
InputType
= InputType.Choice,
400
InputType
= InputType.Boolean,
704
InputType
= useChoiceInput ? InputType.Choice : InputType.Text,
Provisioning\Internal\PublishModeProvisioningContextProvider.cs (7)
124
InputType
= InputType.Text,
192
InputType
= InputType.Choice,
218
InputType
= InputType.SecretText,
291
InputType
= InputType.Choice,
317
InputType
= InputType.SecretText,
385
InputType
= InputType.Choice,
483
InputType
= InputType.Choice,
Provisioning\Internal\RunModeProvisioningContextProvider.cs (5)
349
InputType
= InputType.Choice,
375
InputType
= allowSubscriptionEdit ? InputType.Choice : InputType.Text,
410
InputType
= useTextResourceGroupInput ? InputType.Text : InputType.Choice,
451
InputType
= InputType.Choice,
492
InputType
= InputType.Text,
Aspire.Hosting.Azure.Tests (8)
AzureDeployerTests.cs (1)
1060
InputType
= InputType.Number,
AzureEnvironmentResourceExtensionsTests.cs (7)
311
new() { Name = "tenantId",
InputType
= InputType.Text, Value = "87654321-4321-4321-4321-210987654321" },
312
new() { Name = "subscriptionId",
InputType
= InputType.Text, Value = "12345678-1234-1234-1234-123456789012" },
313
new() { Name = "resourceGroup",
InputType
= InputType.Text, Value = "test-rg" },
314
new() { Name = "location",
InputType
= InputType.Text, Value = "westus2" },
315
new() { Name = AzureBicepResource.KnownParameters.TenantResourceSuffix,
InputType
= InputType.Text, Value = "dev-a" }
5318
InputType
= InputType.Text,
5331
InputType
= input.InputType,
Aspire.Hosting.Browsers (5)
BrowserLogsConfigurationManager.cs (5)
48
InputType
= InputType.Choice,
63
InputType
= InputType.Choice,
83
InputType
= InputType.Choice,
107
InputType
= InputType.Choice,
131
InputType
= InputType.Boolean,
Aspire.Hosting.Browsers.Tests (10)
BrowserLogsBuilderExtensionsTests.cs (5)
1736
new InteractionInput { Name = "scope",
InputType
= InputType.Choice, Value = scope },
1737
new InteractionInput { Name = "browser",
InputType
= InputType.Choice, Value = browser },
1738
new InteractionInput { Name = "userDataMode",
InputType
= InputType.Choice, Value = userDataMode },
1739
new InteractionInput { Name = "profile",
InputType
= InputType.Choice, Value = profile },
1740
new InteractionInput { Name = "saveToUserSecrets",
InputType
= InputType.Boolean, Value = saveToUserSecrets },
src\Aspire.Hosting.Browsers\BrowserLogsConfigurationManager.cs (5)
48
InputType
= InputType.Choice,
63
InputType
= InputType.Choice,
83
InputType
= InputType.Choice,
107
InputType
= InputType.Choice,
131
InputType
= InputType.Boolean,
Aspire.Hosting.EntityFrameworkCore (1)
EFResourceBuilderExtensions.cs (1)
837
InputType
= InputType.Text,
Aspire.Hosting.Foundry (2)
HostedAgent\HostedAgentBuilderExtension.cs (1)
331
InputType
= InputType.Text,
PromptAgent\PromptAgentBuilderExtensions.cs (1)
121
InputType
= InputType.Text,
Aspire.Hosting.Foundry.Tests (3)
HostedAgentExtensionTests.cs (2)
117
InputType
= InputType.Text,
182
InputType
= InputType.Text,
PromptAgentTests.cs (1)
198
InputType
= InputType.Text,
Aspire.Hosting.Tests (148)
AddParameterTests.cs (8)
705
InputType
= InputType.Number,
811
InputType
= InputType.Number,
837
InputType
= InputType.Text,
855
InputType
= InputType.Text,
873
InputType
= InputType.Text,
891
InputType
= InputType.Number,
918
InputType
= InputType.Number,
959
InputType
= InputType.Number,
Backchannel\AuxiliaryBackchannelRpcTargetTests.cs (14)
218
InputType
= InputType.Text,
2310
InputType
= InputType.Text
2315
InputType
= InputType.Number
2320
InputType
= InputType.Boolean
2375
InputType
= InputType.Text
2426
InputType
= InputType.Text
2431
InputType
= InputType.Number
2436
InputType
= InputType.Boolean
2483
InputType
= InputType.Choice,
2493
InputType
= InputType.Choice,
2557
InputType
= InputType.Choice,
2567
InputType
= InputType.Choice,
2632
InputType
= InputType.Text
2680
InputType
= InputType.Text
Dashboard\DashboardServiceTests.cs (13)
180
InputType
= InputType.Text,
305
InputType
= InputType.Text
310
InputType
= InputType.Number
368
InputType
= InputType.Text,
425
InputType
= InputType.Text
569
new InteractionInput { Name = "Input",
InputType
= InputType.Text });
767
new InteractionInput { Name = "Input",
InputType
= InputType.Text, Label = "Input" });
977
? new InteractionInput { Name = "TestInput", Label = "Test Input",
InputType
= inputType, MaxFileSize = inputMaxFileSizeMB * 1024 * 1024 }
978
: new InteractionInput { Name = "TestInput", Label = "Test Input",
InputType
= inputType };
1233
var fileInput = new InteractionInput { Name = "File",
InputType
= InputType.File };
1234
var textInput = new InteractionInput { Name = "Text",
InputType
= InputType.Text };
1272
var input = new InteractionInput { Name = "File",
InputType
= InputType.File, Required = true, AllowMultipleFiles = true };
1336
var input = new InteractionInput { Name = "File",
InputType
= InputType.File };
InteractionServiceTests.cs (54)
362
var input = new InteractionInput { Name = "Value", Label = "Value",
InputType
= InputType.Text, };
399
var input = new InteractionInput { Name = "Value", Label = "Value",
InputType
= InputType.Text, Required = true };
422
var input = new InteractionInput { Name = "Value", Label = "Value",
InputType
= InputType.Choice, Options = [KeyValuePair.Create("first", "First option!"), KeyValuePair.Create("second", "Second option!")] };
445
var input = new InteractionInput { Name = "Value", Label = "Value",
InputType
= InputType.Choice, AllowCustomChoice = true, Options = [KeyValuePair.Create("first", "First option!"), KeyValuePair.Create("second", "Second option!")] };
466
var input = new InteractionInput { Name = "Value", Label = "Value",
InputType
= InputType.Number };
489
var input = new InteractionInput { Name = "Value", Label = "Value",
InputType
= InputType.Boolean };
522
var input = new InteractionInput { Name = "Value", Label = "Value",
InputType
= inputType, MaxLength = maxLength };
558
InputType
= InputType.Text,
578
InputType
= InputType.Text,
596
InputType
= InputType.Text,
631
InputType
= InputType.Text,
643
new InteractionInput { Name = "Username", Label = "Username",
InputType
= InputType.Text },
644
new InteractionInput { Name = "Password", Label = "Password",
InputType
= InputType.SecretText },
645
new InteractionInput { Name = "RememberMe", Label = "Remember Me",
InputType
= InputType.Boolean }
683
new InteractionInput { Name = "UserName", Label = "User Name",
InputType
= InputType.Text },
684
new InteractionInput { Name = "EmailAddress", Label = "Email Address",
InputType
= InputType.Text },
685
new InteractionInput { Name = "Age",
InputType
= InputType.Number }
717
new InteractionInput { Name = "ExplicitName", Label = "Explicit",
InputType
= InputType.Text },
718
new InteractionInput { Name = "GeneratedLabel", Label = "Generated Label",
InputType
= InputType.Text },
719
new InteractionInput { Name = "AnotherExplicit", Label = "Another",
InputType
= InputType.Text }
740
new InteractionInput { Name = "Duplicate", Label = "First",
InputType
= InputType.Text },
741
new InteractionInput { Name = "Duplicate", Label = "Second",
InputType
= InputType.Text }
755
new InteractionInput { Name = "Username", Label = "First",
InputType
= InputType.Text },
756
new InteractionInput { Name = "USERNAME", Label = "Second",
InputType
= InputType.Text }
770
new InteractionInput { Name = "Input1",
InputType
= InputType.Text },
771
new InteractionInput { Name = "Input2",
InputType
= InputType.Text },
772
new InteractionInput { Name = "Input3",
InputType
= InputType.Text }
803
new InteractionInput { Name = "SpecialInput", Label = "!@#$%^&*()",
InputType
= InputType.Text },
804
new InteractionInput { Name = "EmptyLabel", Label = "",
InputType
= InputType.Text },
805
new InteractionInput { Name = "WhitespaceLabel", Label = " ",
InputType
= InputType.Text }
840
new InteractionInput { Name = "Valid", Label = "Valid",
InputType
= InputType.Text }
856
new InteractionInput { Name = "Username", Label = "Username",
InputType
= InputType.Text },
857
new InteractionInput { Name = "Password", Label = "Password",
InputType
= InputType.SecretText }
913
InputType
= InputType.Choice,
963
new InteractionInput { Name = "Username", Label = "Username",
InputType
= InputType.Text },
967
InputType
= InputType.Choice,
1018
new InteractionInput { Name = "Email", Label = "Email",
InputType
= InputType.Text, Required = true },
1019
new InteractionInput { Name = "Age", Label = "Age",
InputType
= InputType.Number, Required = true }
1074
InputType
= InputType.Choice,
1086
new InteractionInput { Name = "Age", Label = "Age",
InputType
= InputType.Number, Required = true }
1107
InputType
= InputType.Choice,
1119
new InteractionInput { Name = "Age", Label = "Age",
InputType
= InputType.Number, Required = true }
1352
var input = new InteractionInput { Name = "File", Label = "File",
InputType
= InputType.File, Required = true };
1381
var input = new InteractionInput { Name = "File", Label = "File",
InputType
= InputType.File };
1406
var input = new InteractionInput { Name = "File", Label = "File",
InputType
= InputType.File };
1425
var input = new InteractionInput { Name = "Text",
InputType
= InputType.Text };
1449
var input = new InteractionInput { Name = "Text",
InputType
= InputType.Text };
1472
var input = new InteractionInput { Name = "File", Label = "File",
InputType
= InputType.File, Required = true };
1495
var input = new InteractionInput { Name = "File", Label = "File",
InputType
= InputType.File, Required = false };
1523
InputType
= InputType.File,
1561
InputType
= InputType.File,
1568
InputType
= InputType.File,
1579
InputType
= InputType.File,
1592
InputType
= InputType.File
Orchestrator\ParameterProcessorTests.cs (7)
1315
InputType
= InputType.Number,
1347
InputType
= InputType.Text,
1354
InputType
= InputType.Choice,
1392
InputType
= InputType.Text,
1674
InputType
= InputType.Text,
1680
InputType
= InputType.Boolean,
1692
InputType
= InputType.Boolean,
Publishing\PipelineActivityReporterTests.cs (2)
652
InputType
= InputType.File,
693
InputType
= InputType.File
ResourceCommandServiceTests.cs (35)
531
InputType
= InputType.Text
536
InputType
= InputType.Number
546
InputType
= InputType.Text,
552
InputType
= InputType.Number,
589
InputType
= InputType.Text,
630
InputType
= InputType.Text,
670
InputType
= InputType.SecretText,
681
InputType
= InputType.SecretText,
712
InputType
= InputType.Text
717
InputType
= InputType.Number,
723
InputType
= InputType.Boolean,
757
InputType
= InputType.Text
788
InputType
= InputType.Text
819
InputType
= InputType.Boolean,
851
InputType
= InputType.Choice,
892
InputType
= InputType.Boolean,
955
InputType
= InputType.Text,
997
InputType
= InputType.Choice,
1004
InputType
= InputType.Choice,
1070
InputType
= InputType.Choice,
1077
InputType
= InputType.Choice,
1095
InputType
= InputType.Choice,
1162
InputType
= InputType.Choice,
1169
InputType
= InputType.Choice,
1232
InputType
= InputType.Text,
1284
InputType
= InputType.Text,
1333
InputType
= InputType.Text
1338
InputType
= InputType.Text,
1441
InputType
= InputType.Boolean,
1448
InputType
= InputType.Number,
1513
InputType
= InputType.Text,
1624
InputType
= InputType.Text,
1630
InputType
= InputType.Text,
1641
InputType
= InputType.Text,
1681
InputType
= InputType.Text,
Terminals\InteractionServiceTerminalTests.cs (1)
118
var input = new InteractionInput { Name = "text",
InputType
= InputType.Text, Required = true, Value = "value" };
WithHttpCommandTests.cs (5)
272
InputType
= InputType.Text,
365
InputType
= InputType.Text,
382
InputType
= InputType.Text,
754
InputType
= InputType.Text,
783
InputType
= InputType.Text,
WithProcessCommandTests.cs (9)
66
InputType
= InputType.Text
171
InputType
= InputType.Text
185
InputType
= InputType.Text,
243
InputType
= InputType.Text
264
InputType
= InputType.Text,
366
InputType
= InputType.Text
379
InputType
= InputType.Text,
423
InputType
= InputType.Text
1433
InputType
= InputType.Text,
ExternalServices.AppHost (1)
AppHost.cs (1)
13
InputType
= InputType.Text,
ParameterEndToEnd.AppHost (1)
AppHost.cs (1)
55
InputType
= InputType.Number,
Publishers.AppHost (11)
DistributedApplicationBuilderExtensions.cs (11)
48
InputType
= InputType.Text,
56
InputType
= InputType.Text,
64
InputType
= InputType.Choice,
77
InputType
= InputType.Choice,
99
InputType
= InputType.File,
150
InputType
= InputType.Text,
173
InputType
= InputType.SecretText,
188
InputType
= InputType.Choice,
209
InputType
= InputType.Boolean,
223
InputType
= InputType.Number,
238
InputType
= InputType.Choice,
Stress.AppHost (83)
CommandResources.cs (47)
150
InputType
= InputType.Text,
158
InputType
= InputType.Number,
165
InputType
= InputType.Boolean
208
InputType
= InputType.Text,
218
InputType
= InputType.Number,
226
InputType
= InputType.Boolean,
234
InputType
= InputType.Choice,
248
InputType
= InputType.SecretText,
303
InputType
= InputType.Text,
313
InputType
= InputType.Choice,
327
InputType
= InputType.Number,
335
InputType
= InputType.Boolean,
394
InputType
= InputType.Choice,
409
InputType
= InputType.Choice,
452
InputType
= InputType.Number,
461
InputType
= InputType.Choice,
554
InputType
= InputType.Choice,
582
InputType
= InputType.Text,
656
InputType
= InputType.Text,
665
InputType
= InputType.Text,
711
InputType
= InputType.Choice,
725
InputType
= InputType.Number,
757
InputType
= InputType.Choice,
791
InputType
= InputType.Text,
800
InputType
= InputType.Text,
829
InputType
= InputType.Text,
838
InputType
= InputType.Text,
847
InputType
= InputType.Text,
876
InputType
= InputType.Text,
886
InputType
= InputType.Text,
896
InputType
= InputType.Text,
1063
InputType
= InputType.Boolean,
1071
InputType
= InputType.Number,
1080
InputType
= InputType.Number,
1090
InputType
= InputType.Boolean,
1098
InputType
= InputType.Number,
1107
InputType
= InputType.Boolean,
1115
InputType
= InputType.Number,
1124
InputType
= InputType.Boolean,
1132
InputType
= InputType.Number,
1142
InputType
= InputType.Boolean,
1150
InputType
= InputType.Number,
1159
InputType
= InputType.Number,
1389
InputType
= InputType.Text,
1399
InputType
= InputType.Number,
1408
InputType
= InputType.Boolean,
1421
InputType
= InputType.Text,
InteractionCommands.cs (36)
59
var 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." };
60
var 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 };
72
var 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 };
76
InputType
= InputType.Choice,
87
InputType
= InputType.Choice,
146
InputType
= InputType.Choice,
159
InputType
= InputType.Choice,
198
InputType
= InputType.Choice,
226
InputType
= InputType.Choice,
236
var numberOfPeopleInput = new InteractionInput { Name = "NumberOfPeople",
InputType
= InputType.Number, Label = "Number of people", Placeholder = "Enter number of people", Value = "2", Required = true };
239
new 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 },
240
new InteractionInput { Name = "Password",
InputType
= InputType.SecretText, Label = "Password", Description = "The password for the reservation. Maximum 20 characters.", Placeholder = "Enter password", Required = true, MaxLength = 20 },
244
new InteractionInput { Name = "RememberMe",
InputType
= InputType.Boolean, Label = "Remember me", Placeholder = "What does this do?", Required = true },
286
InputType
= InputType.Text,
295
InputType
= InputType.SecretText,
304
InputType
= InputType.Choice,
315
InputType
= InputType.Choice,
326
InputType
= InputType.Number,
335
InputType
= InputType.Boolean,
344
InputType
= InputType.File,
365
InputType
= InputType.Choice,
377
InputType
= InputType.Choice,
425
InputType
= InputType.Choice,
435
InputType
= InputType.Choice,
446
InputType
= InputType.Text,
504
InputType
= InputType.Choice,
516
InputType
= InputType.Choice,
534
InputType
= InputType.Choice,
568
new InteractionInput { Name = "Receipt",
InputType
= InputType.File, Label = "Receipt", Placeholder = "Upload receipt", Required = true },
654
InputType
= InputType.Text,
687
InputType
= InputType.Choice,
710
InputType
= InputType.Choice,
749
InputType
= InputType.Choice,
780
InputType
= InputType.Choice,
1074
InputType
= InputType.File,
1119
InputType
= InputType.File,
Terminals.AppHost (1)
TerminalInteractionCommands.cs (1)
301
InputType
= InputType.Number,
TestShop.AppHost (5)
AppHost.cs (5)
28
InputType
= InputType.Choice,
44
InputType
= InputType.Choice,
61
InputType
= InputType.Number,
72
InputType
= InputType.Boolean,
82
InputType
= InputType.File,
74 references to InputType
Aspire.Hosting (21)
ApplicationModel\ResourceCommandService.cs (3)
588
var value = argument.Value = argument.
InputType
== InputType.SecretText
617
switch (argument.
InputType
)
806
InputType = input.
InputType
,
Ats\InteractionExports.cs (1)
262
InputType = input.
InputType
,
Backchannel\AuxiliaryBackchannelRpcTarget.cs (1)
1397
InputType = input.
InputType
.ToString(),
Dashboard\DashboardService.cs (2)
225
InputType = MapInputType(input.
InputType
),
268
else if (maxFileUploadSize.HasValue && input.
InputType
== InputType.File)
Dashboard\DashboardServiceData.cs (4)
266
var files = input.
InputType
== InputType.File
269
inputDtos.Add(new InputDto(input.Name, submittedInput.Value, input.
InputType
, files));
271
else if (input.
InputType
== InputType.File)
274
inputDtos.Add(new InputDto(input.Name, input.Value ?? string.Empty, input.
InputType
, files));
InteractionService.cs (6)
166
var hasFileInputs = inputs.Any(input => input.
InputType
== InputType.File);
203
.Where(input => input.
InputType
== InputType.File)
221
if (input.
InputType
== InputType.Choice)
561
inputsInfo.Inputs.Any(input => input.
InputType
== InputType.File))
608
if (input.
InputType
== InputType.File)
633
switch (input.
InputType
)
Pipelines\PipelineActivityReporter.cs (4)
341
InputType = input.
InputType
.ToString(),
490
if (matchingInput.
InputType
== InputType.File)
495
return new InputDto(matchingInput.Name, value, matchingInput.
InputType
, files);
499
return new InputDto(matchingInput.Name, value, matchingInput.
InputType
);
Aspire.Hosting.Azure.Tests (29)
AzureDeployerTests.cs (8)
250
Assert.Equal(InputType.Choice, input.
InputType
);
267
Assert.Equal(InputType.Choice, input.
InputType
);
285
Assert.Equal(InputType.Choice, input.
InputType
);
303
Assert.Equal(InputType.Choice, input.
InputType
);
1010
Assert.Equal(InputType.Text, input.
InputType
);
1083
Assert.Equal(InputType.Number, input.
InputType
);
1273
Assert.Equal(InputType.Text, input.
InputType
);
1318
Assert.Equal(InputType.Text, input.
InputType
);
AzureEnvironmentResourceExtensionsTests.cs (8)
279
Assert.Equal(InputType.Text, suffix.
InputType
);
425
Assert.Equal(InputType.Choice, input.
InputType
);
435
Assert.Equal(InputType.Choice, input.
InputType
);
446
Assert.Equal(InputType.Choice, input.
InputType
);
457
Assert.Equal(InputType.Choice, input.
InputType
);
989
Assert.Equal(InputType.Boolean, confirmDeleteArgument.
InputType
);
3287
Assert.Equal(InputType.Choice, locationInput.
InputType
);
5331
InputType = input.
InputType
,
ProvisioningContextProviderTests.cs (13)
43
Assert.Equal(InputType.Text, input.
InputType
);
164
Assert.Equal(InputType.Text, input.
InputType
);
554
Assert.Equal(InputType.Choice, input.
InputType
);
561
Assert.Equal(InputType.Choice, input.
InputType
);
568
Assert.Equal(InputType.Text, input.
InputType
);
575
Assert.Equal(InputType.Choice, input.
InputType
);
709
Assert.Equal(InputType.Choice, input.
InputType
);
716
Assert.Equal(InputType.Choice, input.
InputType
);
724
Assert.Equal(InputType.Text, input.
InputType
);
731
Assert.Equal(InputType.Choice, input.
InputType
);
851
Assert.Equal(InputType.Choice, subscriptionInput.
InputType
);
1001
Assert.Equal(InputType.Choice, subscriptionInput.
InputType
);
1048
Assert.Equal(InputType.Text, resourceGroupInput.
InputType
);
Aspire.Hosting.Foundry.Tests (1)
HostedAgentExtensionTests.cs (1)
93
Assert.Equal(InputType.Text, argument.
InputType
);
Aspire.Hosting.RemoteHost.Tests (1)
AtsExportsTests.cs (1)
179
Assert.Equal(InputType.File, input.
InputType
);
Aspire.Hosting.Tests (18)
AddParameterTests.cs (8)
728
Assert.Equal(InputType.Text, input.
InputType
);
794
Assert.Equal(InputType.SecretText, input.
InputType
);
822
Assert.Equal(InputType.Number, input.
InputType
);
903
Assert.Equal(InputType.Number, input.
InputType
);
969
Assert.Equal(InputType.Number, input.
InputType
);
985
[nameof(InteractionInput.
InputType
)] = InputType.Number,
1001
Assert.Equal(InputType.Number, input.
InputType
);
1031
Assert.Equal(InputType.SecretText, input.
InputType
);
InteractionServiceTests.cs (1)
565
Assert.Equal(InputType.Text, input.
InputType
);
Orchestrator\ParameterProcessorTests.cs (9)
298
Assert.Equal(InputType.Text, input.
InputType
);
304
Assert.Equal(InputType.Text, input.
InputType
);
310
Assert.Equal(InputType.SecretText, input.
InputType
);
316
Assert.Equal(InputType.Boolean, input.
InputType
);
621
Assert.Equal(InputType.Text, param1Input.
InputType
);
627
Assert.Equal(InputType.Text, param2Input.
InputType
);
664
Assert.Equal(InputType.SecretText, secretInput.
InputType
);
700
Assert.Equal(InputType.Boolean, saveCheckbox.
InputType
);
739
Assert.Equal(InputType.Boolean, saveCheckbox.
InputType
);
Stress.AppHost (4)
CommandResources.cs (3)
351
.Where(i => i.
InputType
is InputType.Text or InputType.SecretText or InputType.Choice)
353
NumberCount = inputsWithValues.Count(i => i.
InputType
== InputType.Number),
354
BooleanCount = inputsWithValues.Count(i => i.
InputType
== InputType.Boolean),
InteractionCommands.cs (1)
595
if (updatedInput.
InputType
== InputType.File && files.Count > 0)