316 writes to Name
Aspire.Hosting (10)
ApplicationModel\ParameterResource.cs (1)
603
Name
= name ?? Name,
ApplicationModel\ResourceCommandService.cs (1)
802
Name
= input.Name,
Ats\InteractionExports.cs (2)
258
Name
= input.Name,
310
Name
= name,
InteractionService.cs (1)
151
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)
345
Name
= SaveToUserSecretsName,
385
Name
= DeleteFromUserSecretsName,
495
Name
= DeleteFromUserSecretsName,
557
Name
= SaveToUserSecretsName,
ParameterResourceBuilderExtensions.cs (1)
296
Name
= parameter.Name,
Aspire.Hosting.Azure (20)
AzureProvisioningController.cs (8)
274
Name
= TenantIdArgumentName,
295
Name
= SubscriptionIdArgumentName,
316
Name
= ResourceGroupArgumentName,
334
Name
= LocationArgumentName,
354
Name
= AzureBicepResource.KnownParameters.TenantResourceSuffix,
379
Name
= LocationArgumentName,
397
Name
= ConfirmDeleteArgumentName,
701
Name
= AzureBicepResource.KnownParameters.Location,
Provisioning\Internal\PublishModeProvisioningContextProvider.cs (7)
123
Name
= TenantResourceSuffixName,
191
Name
= TenantName,
217
Name
= TenantName,
290
Name
= SubscriptionIdName,
316
Name
= SubscriptionIdName,
384
Name
= ResourceGroupName,
482
Name
= LocationName,
Provisioning\Internal\RunModeProvisioningContextProvider.cs (5)
348
Name
= TenantName,
374
Name
= SubscriptionIdName,
409
Name
= ResourceGroupName,
450
Name
= LocationName,
491
Name
= TenantResourceSuffixName,
Aspire.Hosting.Azure.Tests (8)
AzureDeployerTests.cs (1)
1059
Name
= p.Name,
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" }
5342
Name
= value.Name,
5352
Name
= input.Name,
Aspire.Hosting.Browsers (5)
BrowserLogsConfigurationManager.cs (5)
46
Name
= ScopeInputName,
60
Name
= BrowserInputName,
81
Name
= UserDataModeInputName,
104
Name
= ProfileInputName,
125
Name
= SaveToUserSecretsInputName,
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)
46
Name
= ScopeInputName,
60
Name
= BrowserInputName,
81
Name
= UserDataModeInputName,
104
Name
= ProfileInputName,
125
Name
= SaveToUserSecretsInputName,
Aspire.Hosting.EntityFrameworkCore (1)
EFResourceBuilderExtensions.cs (1)
836
Name
= "name",
Aspire.Hosting.Foundry (2)
HostedAgent\HostedAgentBuilderExtension.cs (1)
330
Name
= "message",
PromptAgent\PromptAgentBuilderExtensions.cs (1)
120
Name
= "message",
Aspire.Hosting.Foundry.Tests (3)
HostedAgentExtensionTests.cs (2)
116
Name
= "message",
181
Name
= "message",
PromptAgentTests.cs (1)
197
Name
= "message",
Aspire.Hosting.Tests (155)
AddParameterTests.cs (8)
736
Name
= "CustomInput",
842
Name
= "TestParameter",
868
Name
= "CustomInput",
886
Name
= "CustomInput",
904
Name
= "CustomInput",
922
Name
= "CustomInput",
949
Name
= "CustomInput",
990
Name
= "TestParam",
Backchannel\AuxiliaryBackchannelRpcTargetTests.cs (14)
216
Name
= "selector",
2314
Name
= "selector",
2319
Name
= "clickCount",
2324
Name
= "snapshotAfter",
2379
Name
= "selector",
2430
Name
= "selector",
2435
Name
= "clickCount",
2440
Name
= "snapshotAfter",
2487
Name
= "browser",
2497
Name
= "profile",
2561
Name
= "category",
2571
Name
= "item",
2636
Name
= "selector",
2684
Name
= "target",
Dashboard\DashboardServiceTests.cs (13)
177
Name
= "selector",
304
Name
= "selector",
309
Name
= "clickCount",
367
Name
= "selector",
424
Name
= "target",
571
new InteractionInput {
Name
= "Input", InputType = InputType.Text });
771
new InteractionInput {
Name
= "Input", InputType = InputType.Text, Label = "Input" });
983
? new InteractionInput {
Name
= "TestInput", Label = "Test Input", InputType = inputType, MaxFileSize = inputMaxFileSizeMB * 1024 * 1024 }
984
: new InteractionInput {
Name
= "TestInput", Label = "Test Input", InputType = inputType };
1240
var fileInput = new InteractionInput {
Name
= "File", InputType = InputType.File };
1241
var textInput = new InteractionInput {
Name
= "Text", InputType = InputType.Text };
1280
var input = new InteractionInput {
Name
= "File", InputType = InputType.File, Required = true, AllowMultipleFiles = true };
1345
var input = new InteractionInput {
Name
= "File", InputType = InputType.File };
InteractionServiceTests.cs (54)
466
var input = new InteractionInput {
Name
= "Value", Label = "Value", InputType = InputType.Text, };
503
var input = new InteractionInput {
Name
= "Value", Label = "Value", InputType = InputType.Text, Required = true };
526
var input = new InteractionInput {
Name
= "Value", Label = "Value", InputType = InputType.Choice, Options = [KeyValuePair.Create("first", "First option!"), KeyValuePair.Create("second", "Second option!")] };
549
var input = new InteractionInput {
Name
= "Value", Label = "Value", InputType = InputType.Choice, AllowCustomChoice = true, Options = [KeyValuePair.Create("first", "First option!"), KeyValuePair.Create("second", "Second option!")] };
570
var input = new InteractionInput {
Name
= "Value", Label = "Value", InputType = InputType.Number };
593
var input = new InteractionInput {
Name
= "Value", Label = "Value", InputType = InputType.Boolean };
626
var input = new InteractionInput {
Name
= "Value", Label = "Value", InputType = inputType, MaxLength = maxLength };
660
Name
= "TestLabel",
680
Name
= "TestLabel",
698
Name
= "TestLabel",
733
Name
= "TestLabel",
747
new InteractionInput {
Name
= "Username", Label = "Username", InputType = InputType.Text },
748
new InteractionInput {
Name
= "Password", Label = "Password", InputType = InputType.SecretText },
749
new InteractionInput {
Name
= "RememberMe", Label = "Remember Me", InputType = InputType.Boolean }
787
new InteractionInput {
Name
= "UserName", Label = "User Name", InputType = InputType.Text },
788
new InteractionInput {
Name
= "EmailAddress", Label = "Email Address", InputType = InputType.Text },
789
new InteractionInput {
Name
= "Age", InputType = InputType.Number }
821
new InteractionInput {
Name
= "ExplicitName", Label = "Explicit", InputType = InputType.Text },
822
new InteractionInput {
Name
= "GeneratedLabel", Label = "Generated Label", InputType = InputType.Text },
823
new InteractionInput {
Name
= "AnotherExplicit", Label = "Another", InputType = InputType.Text }
844
new InteractionInput {
Name
= "Duplicate", Label = "First", InputType = InputType.Text },
845
new InteractionInput {
Name
= "Duplicate", Label = "Second", InputType = InputType.Text }
859
new InteractionInput {
Name
= "Username", Label = "First", InputType = InputType.Text },
860
new InteractionInput {
Name
= "USERNAME", Label = "Second", InputType = InputType.Text }
874
new InteractionInput {
Name
= "Input1", InputType = InputType.Text },
875
new InteractionInput {
Name
= "Input2", InputType = InputType.Text },
876
new InteractionInput {
Name
= "Input3", InputType = InputType.Text }
907
new InteractionInput {
Name
= "SpecialInput", Label = "!@#$%^&*()", InputType = InputType.Text },
908
new InteractionInput {
Name
= "EmptyLabel", Label = "", InputType = InputType.Text },
909
new InteractionInput {
Name
= "WhitespaceLabel", Label = " ", InputType = InputType.Text }
944
new InteractionInput {
Name
= "Valid", Label = "Valid", InputType = InputType.Text }
960
new InteractionInput {
Name
= "Username", Label = "Username", InputType = InputType.Text },
961
new InteractionInput {
Name
= "Password", Label = "Password", InputType = InputType.SecretText }
1016
Name
= "Dynamic",
1067
new InteractionInput {
Name
= "Username", Label = "Username", InputType = InputType.Text },
1070
Name
= "Dynamic",
1122
new InteractionInput {
Name
= "Email", Label = "Email", InputType = InputType.Text, Required = true },
1123
new InteractionInput {
Name
= "Age", Label = "Age", InputType = InputType.Number, Required = true }
1176
Name
= "Choice",
1190
new InteractionInput {
Name
= "Age", Label = "Age", InputType = InputType.Number, Required = true }
1209
Name
= "Choice",
1223
new InteractionInput {
Name
= "Age", Label = "Age", InputType = InputType.Number, Required = true }
1457
var input = new InteractionInput {
Name
= "File", Label = "File", InputType = InputType.File, Required = true };
1486
var input = new InteractionInput {
Name
= "File", Label = "File", InputType = InputType.File };
1511
var input = new InteractionInput {
Name
= "File", Label = "File", InputType = InputType.File };
1530
var input = new InteractionInput {
Name
= "Text", InputType = InputType.Text };
1554
var input = new InteractionInput {
Name
= "Text", InputType = InputType.Text };
1577
var input = new InteractionInput {
Name
= "File", Label = "File", InputType = InputType.File, Required = true };
1600
var input = new InteractionInput {
Name
= "File", Label = "File", InputType = InputType.File, Required = false };
1626
Name
= "File",
1665
Name
= "File",
1672
Name
= "File",
1683
Name
= "File",
1696
Name
= "File",
Orchestrator\ParameterProcessorTests.cs (14)
1314
Name
= "ParameterInput",
1346
Name
= "Region",
1353
Name
= "Zone",
1392
Name
= "Region",
1400
Name
= "Zone",
1434
Name
= "Value",
1487
Name
= "Value",
1494
Name
= "Zone",
1517
static InteractionInput CreateInput(string name) => new() {
Name
= name, InputType = InputType.Text, Label = name };
1529
Name
= "Zone",
1571
Name
= "Secret",
1853
Name
= ParameterProcessor.SetParameterValueName,
1859
Name
= ParameterProcessor.SaveToUserSecretsName,
1871
Name
= ParameterProcessor.DeleteFromUserSecretsName,
Publishing\PipelineActivityReporterTests.cs (2)
651
Name
= "artifact",
692
Name
= "artifact",
ResourceCommandServiceTests.cs (35)
531
Name
= "selector",
536
Name
= "clickCount",
546
Name
= "selector",
552
Name
= "clickCount",
589
Name
= "message",
630
Name
= "message",
670
Name
= "password",
681
Name
= "password",
712
Name
= "selector",
717
Name
= "clickCount",
723
Name
= "snapshotAfter",
757
Name
= "selector",
788
Name
= "selector",
819
Name
= "saveToUserSecrets",
851
Name
= "item",
892
Name
= "saveToUserSecrets",
954
Name
= "selector",
997
Name
= "subscription",
1004
Name
= "location",
1070
Name
= "category",
1077
Name
= "item",
1095
Name
= "priority",
1162
Name
= "mode",
1169
Name
= "profile",
1232
Name
= "selector",
1283
Name
= "selector",
1334
Name
= "text",
1339
Name
= "message",
1442
Name
= "generateTraces",
1449
Name
= "traceCount",
1513
Name
= "selector",
1625
Name
= "selector",
1631
Name
= "target",
1642
Name
= "selector",
1681
Name
= "target",
Terminals\InteractionServiceTerminalTests.cs (1)
118
var input = new InteractionInput {
Name
= "text", InputType = InputType.Text, Required = true, Value = "value" };
WithHttpCommandTests.cs (5)
271
Name
= "message",
364
Name
= "message",
381
Name
= "message",
753
Name
= "message",
782
Name
= "message",
WithProcessCommandTests.cs (9)
65
Name
= "target",
170
Name
= "message",
184
Name
= "message",
242
Name
= "message",
263
Name
= "message",
365
Name
= "message",
378
Name
= "message",
422
Name
= "message",
1432
Name
= "required",
ExternalServices.AppHost (1)
AppHost.cs (1)
12
Name
= "ParameterInput",
ParameterEndToEnd.AppHost (1)
AppHost.cs (1)
54
Name
= "ParameterInput",
Publishers.AppHost (11)
DistributedApplicationBuilderExtensions.cs (11)
46
Name
= "ApplicationName",
54
Name
= "ApplicationVersion",
62
Name
= "SSLCertificateType",
75
Name
= "SSLCertificateTypeMoreDetails",
97
Name
= "CertificateFile",
148
Name
= "EnvironmentName",
171
Name
= "DatabasePassword",
186
Name
= "Region",
207
Name
= "EnableVerboseLogging",
221
Name
= "InstanceCount",
236
Name
= "Strategy",
Stress.AppHost (83)
CommandResources.cs (47)
148
Name
= "message",
156
Name
= "count",
163
Name
= "urgent",
205
Name
= "message",
215
Name
= "repeat",
223
Name
= "shout",
231
Name
= "flavor",
245
Name
= "secret",
300
Name
= "target",
310
Name
= "mode",
324
Name
= "timeoutSeconds",
332
Name
= "requireHealthy",
391
Name
= "category",
406
Name
= "item",
449
Name
= "quantity",
458
Name
= "priority",
551
Name
= "command",
579
Name
= "input",
653
Name
= "name",
662
Name
= "input",
708
Name
= "dataset",
722
Name
= "customers",
754
Name
= "filter",
788
Name
= "job",
797
Name
= "payload",
826
Name
= "backupPath",
835
Name
= "container",
844
Name
= "database",
873
Name
= "container",
883
Name
= "execCommand",
893
Name
= "workingDirectory",
1060
Name
= "generateTraces",
1069
Name
= "traceCount",
1078
Name
= "spansPerTrace",
1087
Name
= "generateLargeTrace",
1096
Name
= "largeTraceSpanCount",
1105
Name
= "generateStructuredLogs",
1113
Name
= "structuredLogCount",
1122
Name
= "generateConsoleLogs",
1130
Name
= "consoleLogCount",
1139
Name
= "generateMetrics",
1148
Name
= "metricDurationHours",
1157
Name
= "metricDimensionCount",
1386
Name
= "runId",
1396
Name
= "iterations",
1405
Name
= "enabled",
1418
Name
= $"item{i:00}",
InteractionCommands.cs (36)
75
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." };
76
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 };
88
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 };
91
Name
= "Choice",
102
Name
= "Combobox",
161
Name
= "Dinner",
174
Name
= "Requirements",
213
Name
= "Dinner",
241
Name
= "Requirements",
252
var numberOfPeopleInput = new InteractionInput {
Name
= "NumberOfPeople", InputType = InputType.Number, Label = "Number of people", Placeholder = "Enter number of people", Value = "2", Required = true };
255
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 },
256
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 },
260
new InteractionInput {
Name
= "RememberMe", InputType = InputType.Boolean, Label = "Remember me", Placeholder = "What does this do?", Required = true },
301
Name
= "Text",
310
Name
= "Password",
319
Name
= "Choice",
330
Name
= "CustomChoice",
341
Name
= "Number",
350
Name
= "Boolean",
359
Name
= "File",
380
Name
= "PredefinedOptions",
392
Name
= "CustomChoice",
440
Name
= "Dynamic",
450
Name
= "DynamicCustomChoice",
461
Name
= "DynamicTextInput",
519
Name
= "PredefinedOptions",
531
Name
= "CustomChoice",
549
Name
= "Dynamic",
584
new InteractionInput {
Name
= "Receipt", InputType = InputType.File, Label = "Receipt", Placeholder = "Upload receipt", Required = true },
669
Name
= $"Input{i + 1}",
702
Name
= "Tenant",
725
Name
= "SubscriptionId",
764
Name
= "ResourceGroup",
795
Name
= "Location",
1089
Name
= "ConfigFile",
1134
Name
= "Certificates",
Terminals.AppHost (1)
TerminalInteractionCommands.cs (1)
299
Name
= "limit",
TestShop.AppHost (5)
AppHost.cs (5)
27
Name
= parameter.Name,
43
Name
= parameter.Name,
60
Name
= parameter.Name,
71
Name
= parameter.Name,
81
Name
= parameter.Name,
123 references to Name
Aspire.Hosting (44)
ApplicationModel\CommandOptions.cs (1)
37
/// <see cref="InteractionInput.
Name
"/>.
ApplicationModel\HttpCommandContext.cs (2)
55
/// named-payload clients are mapped by <see cref="InteractionInput.
Name
"/>.
142
/// named-payload clients are mapped by <see cref="InteractionInput.
Name
"/>.
ApplicationModel\ProcessCommandResultContext.cs (1)
54
/// named-payload clients are mapped by <see cref="InteractionInput.
Name
"/>.
ApplicationModel\ResourceCommandAnnotation.cs (2)
135
/// <see cref="InteractionInput.
Name
"/>.
483
/// named-payload clients are mapped by <see cref="InteractionInput.
Name
"/>.
ApplicationModel\ResourceCommandService.cs (9)
247
.Where(argument => IsStaticallyDisabled(argument) && argumentValues.ContainsKey(argument.
Name
))
248
.Select(argument => argument.
Name
)
256
annotation.Arguments.Select(argument => argument.
Name
),
295
.Select(static argument => argument.
Name
)
599
if (loadedDynamicArgumentNames is not null && !string.IsNullOrEmpty(value) && argument.DynamicLoading is not null && !loadedDynamicArgumentNames.Contains(argument.
Name
))
673
loadedArgumentNames.Add(argument.
Name
);
740
if (argumentValues?.TryGetValue(input.
Name
, out var argumentValue) == true)
792
values[argument.
Name
] = argument.Value;
802
Name = input.
Name
,
Ats\InteractionExports.cs (2)
258
Name = input.
Name
,
464
return _inner.Input.
Name
;
Backchannel\AuxiliaryBackchannelRpcTarget.cs (2)
373
ArgumentName = argument.
Name
,
1394
Name = input.
Name
,
Dashboard\DashboardService.cs (2)
220
var updateStateOnChange = updateStateOnChangeInputs?.Any(i => string.Equals(i, input.
Name
, StringComparisons.InteractionInputName)) == true;
224
Name = input.
Name
,
Dashboard\DashboardServiceData.cs (6)
264
if (submittedInputsByName.TryGetValue(input.
Name
, out var submittedInput))
267
? GetAcceptedFiles(fileUploadStore, submittedInput.Value, interactionId, input.
Name
)
269
inputDtos.Add(new InputDto(input.
Name
, submittedInput.Value, input.InputType, files));
273
var files = GetAcceptedFiles(fileUploadStore, jsonValue: null, interactionId, input.
Name
);
274
inputDtos.Add(new InputDto(input.
Name
, input.Value ?? string.Empty, input.InputType, files));
367
(dynamic.DependsOnInputs?.Any(d => string.Equals(modelInput.
Name
, d, StringComparisons.InteractionInputName)) ?? false));
IInteractionService.cs (5)
284
options.Logger.LogError(ex, "Error loading options for input '{InputName}'.", options.Input.
Name
);
358
internal string EffectiveLabel => string.IsNullOrWhiteSpace(Label) ?
Name
: Label;
696
if (!usedNames.Add(input.
Name
))
698
throw new InvalidOperationException($"Duplicate input name '{input.
Name
}' found. Input names must be unique.");
700
inputsByName[input.
Name
] = input;
InteractionService.cs (3)
189
throw new InvalidOperationException($"The input '{input.
Name
}' has {nameof(InteractionInput.DynamicLoading)} that depends on an input named '{dependsOnInputName}', but no such input exists.");
193
throw new InvalidOperationException($"The input '{input.
Name
}' has {nameof(InteractionInput.DynamicLoading)} that depends on an input named '{dependsOnInputName}', but that input is not defined before it. Inputs must be defined in order so that dependencies are always to earlier inputs.");
211
.Select(input => (input.
Name
, InteractionHelpers.GetMaxFileCount(input.AllowMultipleFiles)))
Orchestrator\ParameterProcessor.cs (4)
531
.Select(i => i.Input.
Name
)
535
var conflicting = inputsToRename.Where(i => nameCounts[i.Input.
Name
] > 1).ToList();
538
.Select(i => i.Input.
Name
)
785
.Where(i => !string.Equals(i.Input.
Name
, i.ParameterResource.Name, StringComparisons.InteractionInputName))
Pipelines\PipelineActivityReporter.cs (5)
339
Name = input.
Name
,
347
UpdateStateOnChange = updateStateOnChangeInputs.Any(i => string.Equals(i, input.
Name
, StringComparisons.InteractionInputName)),
492
var files = DashboardServiceData.GetAcceptedFiles(_fileUploadStore, value, interactionId, matchingInput.
Name
);
495
return new InputDto(matchingInput.
Name
, value, matchingInput.InputType, files);
499
return new InputDto(matchingInput.
Name
, value, matchingInput.InputType);
Aspire.Hosting.Azure.Tests (17)
AzureDeployerTests.cs (1)
1080
Assert.Equal("custom-param", input.
Name
);
AzureEnvironmentResourceExtensionsTests.cs (7)
423
Assert.Equal("tenantId", input.
Name
);
433
Assert.Equal("subscriptionId", input.
Name
);
444
Assert.Equal("resourceGroup", input.
Name
);
455
Assert.Equal(AzureBicepResource.KnownParameters.Location, input.
Name
);
1007
Assert.Equal(AzureBicepResource.KnownParameters.Location, locationArgument.
Name
);
1013
Assert.Equal(AzureProvisioningController.ConfirmDeleteArgumentName, confirmDeleteArgument.
Name
);
5352
Name = input.
Name
,
ProvisioningContextProviderTests.cs (9)
41
Assert.Equal(BaseProvisioningContextProvider.TenantResourceSuffixName, input.
Name
);
552
Assert.Equal(BaseProvisioningContextProvider.TenantName, input.
Name
);
559
Assert.Equal(BaseProvisioningContextProvider.SubscriptionIdName, input.
Name
);
566
Assert.Equal(BaseProvisioningContextProvider.ResourceGroupName, input.
Name
);
573
Assert.Equal(BaseProvisioningContextProvider.LocationName, input.
Name
);
707
Assert.Equal(BaseProvisioningContextProvider.TenantName, input.
Name
);
714
Assert.Equal(BaseProvisioningContextProvider.SubscriptionIdName, input.
Name
);
722
Assert.Equal(BaseProvisioningContextProvider.ResourceGroupName, input.
Name
);
729
Assert.Equal(BaseProvisioningContextProvider.LocationName, input.
Name
);
Aspire.Hosting.Browsers.Tests (5)
BrowserLogsBuilderExtensionsTests.cs (5)
101
var browserInput = arguments.Single(input => input.
Name
== BrowserLogsConfigurationManager.BrowserInputName);
102
var userDataModeInput = arguments.Single(input => input.
Name
== BrowserLogsConfigurationManager.UserDataModeInputName);
103
var profileInput = arguments.Single(input => input.
Name
== BrowserLogsConfigurationManager.ProfileInputName);
156
var profileInput = arguments.Single(input => input.
Name
== BrowserLogsConfigurationManager.ProfileInputName);
192
var saveInput = arguments.Single(input => input.
Name
== BrowserLogsConfigurationManager.SaveToUserSecretsInputName);
Aspire.Hosting.EntityFrameworkCore.Tests (1)
EFMigrationCommandsTests.cs (1)
73
Assert.Equal("name", nameArgument.
Name
);
Aspire.Hosting.Foundry.Tests (1)
HostedAgentExtensionTests.cs (1)
92
Assert.Equal("message", argument.
Name
);
Aspire.Hosting.RemoteHost.Tests (3)
AtsExportsTests.cs (3)
109
Assert.Equal("region", input.
Name
);
114
Assert.Equal("zone", input.
Name
);
176
Assert.Equal("artifact", input.
Name
);
Aspire.Hosting.Tests (45)
AddParameterTests.cs (3)
792
Assert.Equal("value", input.
Name
);
934
Assert.Equal("value", input.
Name
);
1032
Assert.Equal("value", input.
Name
);
Backchannel\AuxiliaryBackchannelRpcTargetTests.cs (1)
2690
var target = context.Inputs.Single(argument => argument.
Name
== "target");
Dashboard\DashboardServiceTests.cs (11)
430
var target = context.Inputs.Single(argument => argument.
Name
== "target");
1244
var (fileId, _) = fileUploadStore.CreateEntry("spoofed.txt", interaction.InteractionId, textInput.
Name
);
1254
Name = textInput.
Name
,
1263
Assert.Empty(resultInputs[textInput.
Name
].GetFiles());
1264
Assert.Equal(value, resultInputs[textInput.
Name
].Value);
1283
var (fileId, filePath) = fileUploadStore.CreateEntry("document.txt", interaction.InteractionId, input.
Name
);
1284
var (secondFileId, secondFilePath) = fileUploadStore.CreateEntry("second.txt", interaction.InteractionId, input.
Name
);
1296
Name = input.
Name
,
1325
Assert.Null(fileUploadStore.GetFilePath(fileId, interaction.InteractionId, input.
Name
));
1326
Assert.Null(fileUploadStore.GetFilePath(secondFileId, interaction.InteractionId, input.
Name
));
1348
var (fileId, _) = fileUploadStore.CreateEntry("document.txt", interaction.InteractionId, input.
Name
);
InteractionServiceTests.cs (1)
1634
Assert.Equal((input.
Name
, InteractionHelpers.GetMaxFileCount(allowMultipleFiles)), Assert.Single(registeredFileInputs));
Orchestrator\ParameterProcessorTests.cs (11)
1063
Assert.Equal(ParameterProcessor.SetParameterValueName, valueInput.
Name
);
1069
saveInput => Assert.Equal(ParameterProcessor.SaveToUserSecretsName, saveInput.
Name
));
1071
var saveToUserSecretsInput = setValueCommand.Arguments.Single(argument => argument.
Name
== ParameterProcessor.SaveToUserSecretsName);
1326
Assert.Equal(["firstParam", "secondParam", "SaveToUserSecrets"], inputsInteraction.Inputs.Select(input => input.
Name
));
1373
Assert.Equal(["Region", "Zone", "SaveToUserSecrets"], inputsInteraction.Inputs.Select(input => input.
Name
));
1419
Assert.Equal(["Region", "Zone", "SaveToUserSecrets"], inputsInteraction.Inputs.Select(input => input.
Name
));
1457
Assert.Equal("Value", input.
Name
);
1463
Assert.Equal("SaveToUserSecrets", input.
Name
);
1509
Assert.Equal(["firstParam", "secondParam", "Zone", "SaveToUserSecrets"], inputsInteraction.Inputs.Select(input => input.
Name
));
1548
Assert.Equal(["Zone2", "other", "Region", "Zone", "SaveToUserSecrets"], inputsInteraction.Inputs.Select(input => input.
Name
));
1584
Assert.Equal(["Secret", "otherParam", ParameterProcessor.SaveToUserSecretsName], inputsInteraction.Inputs.Select(input => input.
Name
));
Publishing\PipelineActivityReporterTests.cs (5)
658
var (fileId, filePath) = _fileUploadStore.CreateEntry("artifact.zip", interactionId, input.
Name
);
665
Name = input.
Name
,
678
Assert.Equal(filePath, _fileUploadStore.GetFilePath(fileId, interactionId, input.
Name
));
682
Assert.Null(_fileUploadStore.GetFilePath(fileId, interactionId, input.
Name
));
698
var (fileId, _) = _fileUploadStore.CreateEntry("artifact.zip", interactionId, input.
Name
);
ResourceCommandServiceTests.cs (9)
972
Assert.Equal("selector", invalidArgument.
Name
);
1046
Assert.Equal("location", invalidArgument.
Name
);
1135
var itemArgument = Assert.Single(result.InvalidArguments, argument => argument.
Name
== "item");
1138
var priorityArgument = Assert.Single(result.InvalidArguments, argument => argument.
Name
== "priority");
1304
Assert.Equal("selector", input.
Name
);
1535
Assert.Equal("selector", invalidArgument.
Name
);
1657
Assert.Equal("target", invalidArgument.
Name
);
1689
var target = context.Inputs.Single(argument => argument.
Name
== "target");
1705
Assert.Equal("target", invalidArgument.
Name
);
WithHttpCommandTests.cs (1)
289
Assert.Equal("message", argument.
Name
);
WithProcessCommandTests.cs (3)
81
Assert.Equal("target", argument.
Name
);
254
Assert.Equal("message", argument.
Name
);
1450
Assert.Equal("required", invalidArgument.
Name
);
Stress.AppHost (7)
CommandResources.cs (1)
355
PropertyNames = inputsWithValues.Select(i => i.
Name
).ToArray()
InteractionCommands.cs (6)
152
logger.LogInformation("Input: {Name} = {Value}", input.
Name
, input.Value);
289
logger.LogInformation("Input: {Name} = {Value}", updatedInput.
Name
, updatedInput.Value);
509
logger.LogInformation("Input: {Name} = {Value}", updatedInput.
Name
, updatedInput.Value);
615
logger.LogInformation("Input: {Name} = {Value}", updatedInput.
Name
, value);
691
logger.LogInformation("Input: {Name} = {Value}", input.
Name
, input.Value);
882
logger.LogInformation("Azure provisioning: {Name} = {Value}", input.
Name
, input.Value);