278 writes to Name
Aspire.Hosting (10)
ApplicationModel\ParameterResource.cs (1)
168
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)
140
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)
238
Name
= SaveToUserSecretsName,
278
Name
= DeleteFromUserSecretsName,
384
Name
= DeleteFromUserSecretsName,
416
Name
= SaveToUserSecretsName,
ParameterResourceBuilderExtensions.cs (1)
266
Name
= parameter.Name,
Aspire.Hosting.Azure (17)
AzureProvisioningController.cs (7)
275
Name
= TenantIdArgumentName,
296
Name
= SubscriptionIdArgumentName,
317
Name
= ResourceGroupArgumentName,
335
Name
= LocationArgumentName,
357
Name
= LocationArgumentName,
375
Name
= ConfirmDeleteArgumentName,
678
Name
= AzureBicepResource.KnownParameters.Location,
Provisioning\Internal\PublishModeProvisioningContextProvider.cs (6)
160
Name
= TenantName,
186
Name
= TenantName,
259
Name
= SubscriptionIdName,
285
Name
= SubscriptionIdName,
353
Name
= ResourceGroupName,
451
Name
= LocationName,
Provisioning\Internal\RunModeProvisioningContextProvider.cs (4)
337
Name
= TenantName,
363
Name
= SubscriptionIdName,
398
Name
= ResourceGroupName,
439
Name
= LocationName,
Aspire.Hosting.Azure.Tests (3)
AzureDeployerTests.cs (1)
811
Name
= p.Name,
AzureEnvironmentResourceExtensionsTests.cs (2)
4987
Name
= value.Name,
4997
Name
= input.Name,
Aspire.Hosting.Browsers (5)
BrowserLogsConfigurationManager.cs (5)
47
Name
= ScopeInputName,
61
Name
= BrowserInputName,
82
Name
= UserDataModeInputName,
105
Name
= ProfileInputName,
126
Name
= SaveToUserSecretsInputName,
Aspire.Hosting.Browsers.Tests (10)
BrowserLogsBuilderExtensionsTests.cs (5)
1737
new InteractionInput {
Name
= "scope", InputType = InputType.Choice, Value = scope },
1738
new InteractionInput {
Name
= "browser", InputType = InputType.Choice, Value = browser },
1739
new InteractionInput {
Name
= "userDataMode", InputType = InputType.Choice, Value = userDataMode },
1740
new InteractionInput {
Name
= "profile", InputType = InputType.Choice, Value = profile },
1741
new InteractionInput {
Name
= "saveToUserSecrets", InputType = InputType.Boolean, Value = saveToUserSecrets },
src\Aspire.Hosting.Browsers\BrowserLogsConfigurationManager.cs (5)
47
Name
= ScopeInputName,
61
Name
= BrowserInputName,
82
Name
= UserDataModeInputName,
105
Name
= ProfileInputName,
126
Name
= SaveToUserSecretsInputName,
Aspire.Hosting.EntityFrameworkCore (1)
EFResourceBuilderExtensions.cs (1)
755
Name
= "name",
Aspire.Hosting.Foundry (2)
HostedAgent\HostedAgentBuilderExtension.cs (1)
328
Name
= "message",
PromptAgent\PromptAgentBuilderExtensions.cs (1)
120
Name
= "message",
Aspire.Hosting.Foundry.Tests (3)
HostedAgentExtensionTests.cs (2)
112
Name
= "message",
177
Name
= "message",
PromptAgentTests.cs (1)
109
Name
= "message",
Aspire.Hosting.Tests (138)
AddParameterTests.cs (5)
405
Name
= "CustomInput",
498
Name
= "TestParameter",
525
Name
= "CustomInput",
552
Name
= "CustomInput",
593
Name
= "TestParam",
Backchannel\AuxiliaryBackchannelRpcTargetTests.cs (14)
214
Name
= "selector",
2267
Name
= "selector",
2272
Name
= "clickCount",
2277
Name
= "snapshotAfter",
2332
Name
= "selector",
2383
Name
= "selector",
2388
Name
= "clickCount",
2393
Name
= "snapshotAfter",
2440
Name
= "browser",
2450
Name
= "profile",
2514
Name
= "category",
2524
Name
= "item",
2589
Name
= "selector",
2637
Name
= "target",
Dashboard\DashboardServiceTests.cs (13)
172
Name
= "selector",
299
Name
= "selector",
304
Name
= "clickCount",
362
Name
= "selector",
419
Name
= "target",
564
new InteractionInput {
Name
= "Input", InputType = InputType.Text });
612
new InteractionInput {
Name
= "Input", InputType = InputType.Text, Label = "Input" });
822
? new InteractionInput {
Name
= "TestInput", Label = "Test Input", InputType = inputType, MaxFileSize = inputMaxFileSizeMB * 1024 * 1024 }
823
: new InteractionInput {
Name
= "TestInput", Label = "Test Input", InputType = inputType };
1078
var fileInput = new InteractionInput {
Name
= "File", InputType = InputType.File };
1079
var textInput = new InteractionInput {
Name
= "Text", InputType = InputType.Text };
1117
var input = new InteractionInput {
Name
= "File", InputType = InputType.File, Required = true, AllowMultipleFiles = true };
1181
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 };
556
Name
= "TestLabel",
576
Name
= "TestLabel",
594
Name
= "TestLabel",
629
Name
= "TestLabel",
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 }
912
Name
= "Dynamic",
963
new InteractionInput {
Name
= "Username", Label = "Username", InputType = InputType.Text },
966
Name
= "Dynamic",
1018
new InteractionInput {
Name
= "Email", Label = "Email", InputType = InputType.Text, Required = true },
1019
new InteractionInput {
Name
= "Age", Label = "Age", InputType = InputType.Number, Required = true }
1072
Name
= "Choice",
1086
new InteractionInput {
Name
= "Age", Label = "Age", InputType = InputType.Number, Required = true }
1105
Name
= "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 };
1521
Name
= "File",
1560
Name
= "File",
1567
Name
= "File",
1578
Name
= "File",
1591
Name
= "File",
Orchestrator\ParameterProcessorTests.cs (3)
1238
Name
= ParameterProcessor.SetParameterValueName,
1244
Name
= ParameterProcessor.SaveToUserSecretsName,
1256
Name
= ParameterProcessor.DeleteFromUserSecretsName,
Publishing\PipelineActivityReporterTests.cs (2)
653
Name
= "artifact",
694
Name
= "artifact",
ResourceCommandServiceTests.cs (33)
529
Name
= "selector",
534
Name
= "clickCount",
544
Name
= "selector",
550
Name
= "clickCount",
587
Name
= "message",
628
Name
= "message",
668
Name
= "password",
679
Name
= "password",
710
Name
= "selector",
715
Name
= "clickCount",
721
Name
= "snapshotAfter",
755
Name
= "selector",
786
Name
= "selector",
817
Name
= "saveToUserSecrets",
849
Name
= "item",
890
Name
= "saveToUserSecrets",
952
Name
= "selector",
995
Name
= "subscription",
1002
Name
= "location",
1068
Name
= "category",
1075
Name
= "item",
1093
Name
= "priority",
1160
Name
= "mode",
1167
Name
= "profile",
1230
Name
= "selector",
1281
Name
= "selector",
1337
Name
= "generateTraces",
1344
Name
= "traceCount",
1408
Name
= "selector",
1520
Name
= "selector",
1526
Name
= "target",
1537
Name
= "selector",
1576
Name
= "target",
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)
49
Name
= "ParameterInput",
Publishers.AppHost (11)
DistributedApplicationBuilderExtensions.cs (11)
48
Name
= "ApplicationName",
56
Name
= "ApplicationVersion",
64
Name
= "SSLCertificateType",
77
Name
= "SSLCertificateTypeMoreDetails",
99
Name
= "CertificateFile",
150
Name
= "EnvironmentName",
173
Name
= "DatabasePassword",
188
Name
= "Region",
209
Name
= "EnableVerboseLogging",
223
Name
= "InstanceCount",
238
Name
= "Strategy",
Stress.AppHost (76)
CommandResources.cs (47)
147
Name
= "message",
155
Name
= "count",
162
Name
= "urgent",
204
Name
= "message",
214
Name
= "repeat",
222
Name
= "shout",
230
Name
= "flavor",
244
Name
= "secret",
299
Name
= "target",
309
Name
= "mode",
323
Name
= "timeoutSeconds",
331
Name
= "requireHealthy",
390
Name
= "category",
405
Name
= "item",
448
Name
= "quantity",
457
Name
= "priority",
550
Name
= "command",
578
Name
= "input",
652
Name
= "name",
661
Name
= "input",
707
Name
= "dataset",
721
Name
= "customers",
753
Name
= "filter",
787
Name
= "job",
796
Name
= "payload",
825
Name
= "backupPath",
834
Name
= "container",
843
Name
= "database",
872
Name
= "container",
882
Name
= "execCommand",
892
Name
= "workingDirectory",
982
Name
= "generateTraces",
991
Name
= "traceCount",
1000
Name
= "spansPerTrace",
1009
Name
= "generateLargeTrace",
1018
Name
= "largeTraceSpanCount",
1027
Name
= "generateStructuredLogs",
1035
Name
= "structuredLogCount",
1044
Name
= "generateConsoleLogs",
1052
Name
= "consoleLogCount",
1061
Name
= "generateMetrics",
1070
Name
= "metricDurationHours",
1079
Name
= "metricDimensionCount",
1308
Name
= "runId",
1318
Name
= "iterations",
1327
Name
= "enabled",
1340
Name
= $"item{i:00}",
InteractionCommands.cs (29)
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 };
75
Name
= "Choice",
86
Name
= "Combobox",
145
Name
= "Dinner",
158
Name
= "Requirements",
197
Name
= "Dinner",
225
Name
= "Requirements",
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", Placeholder = "Enter name", Required = true, MaxLength = 50 },
240
new InteractionInput {
Name
= "Password", InputType = InputType.SecretText, Label = "Password", 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 },
283
Name
= "PredefinedOptions",
295
Name
= "CustomChoice",
343
Name
= "Dynamic",
353
Name
= "DynamicCustomChoice",
364
Name
= "DynamicTextInput",
422
Name
= "PredefinedOptions",
434
Name
= "CustomChoice",
452
Name
= "Dynamic",
487
new InteractionInput {
Name
= "Receipt", InputType = InputType.File, Label = "Receipt", Placeholder = "Upload receipt", Required = true },
572
Name
= $"Input{i + 1}",
605
Name
= "Tenant",
628
Name
= "SubscriptionId",
667
Name
= "ResourceGroup",
698
Name
= "Location",
992
Name
= "ConfigFile",
1037
Name
= "Certificates",
110 references to Name
Aspire.Hosting (40)
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)
371
ArgumentName = argument.
Name
,
1370
Name = input.
Name
,
Dashboard\DashboardService.cs (2)
196
var updateStateOnChange = updateStateOnChangeInputs?.Any(i => string.Equals(i, input.
Name
, StringComparisons.InteractionInputName)) == true;
200
Name = input.
Name
,
Dashboard\DashboardServiceData.cs (6)
256
if (submittedInputsByName.TryGetValue(input.
Name
, out var submittedInput))
259
? GetAcceptedFiles(fileUploadStore, submittedInput.Value, interactionId, input.
Name
)
261
inputDtos.Add(new InputDto(input.
Name
, submittedInput.Value, input.InputType, files));
265
var files = GetAcceptedFiles(fileUploadStore, jsonValue: null, interactionId, input.
Name
);
266
inputDtos.Add(new InputDto(input.
Name
, input.Value ?? string.Empty, input.InputType, files));
359
(dynamic.DependsOnInputs?.Any(d => string.Equals(modelInput.
Name
, d, StringComparisons.InteractionInputName)) ?? false));
IInteractionService.cs (5)
216
options.Logger.LogError(ex, "Error loading options for input '{InputName}'.", options.Input.
Name
);
290
internal string EffectiveLabel => string.IsNullOrWhiteSpace(Label) ?
Name
: Label;
623
if (!usedNames.Add(input.
Name
))
625
throw new InvalidOperationException($"Duplicate input name '{input.
Name
}' found. Input names must be unique.");
627
inputsByName[input.
Name
] = input;
InteractionService.cs (3)
178
throw new InvalidOperationException($"The input '{input.
Name
}' has {nameof(InteractionInput.DynamicLoading)} that depends on an input named '{dependsOnInputName}', but no such input exists.");
182
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.");
200
.Select(input => (input.
Name
, InteractionHelpers.GetMaxFileCount(input.AllowMultipleFiles)))
Pipelines\PipelineActivityReporter.cs (5)
341
Name = input.
Name
,
349
UpdateStateOnChange = updateStateOnChangeInputs.Any(i => string.Equals(i, input.
Name
, StringComparisons.InteractionInputName)),
494
var files = DashboardServiceData.GetAcceptedFiles(_fileUploadStore, value, interactionId, matchingInput.
Name
);
497
return new InputDto(matchingInput.
Name
, value, matchingInput.InputType, files);
501
return new InputDto(matchingInput.
Name
, value, matchingInput.InputType);
Aspire.Hosting.Azure.Tests (16)
AzureDeployerTests.cs (1)
832
Assert.Equal("custom-param", input.
Name
);
AzureEnvironmentResourceExtensionsTests.cs (7)
127
Assert.Equal("tenantId", input.
Name
);
137
Assert.Equal("subscriptionId", input.
Name
);
148
Assert.Equal("resourceGroup", input.
Name
);
159
Assert.Equal(AzureBicepResource.KnownParameters.Location, input.
Name
);
664
Assert.Equal(AzureBicepResource.KnownParameters.Location, locationArgument.
Name
);
670
Assert.Equal(AzureProvisioningController.ConfirmDeleteArgumentName, confirmDeleteArgument.
Name
);
4997
Name = input.
Name
,
ProvisioningContextProviderTests.cs (8)
354
Assert.Equal(BaseProvisioningContextProvider.TenantName, input.
Name
);
361
Assert.Equal(BaseProvisioningContextProvider.SubscriptionIdName, input.
Name
);
368
Assert.Equal(BaseProvisioningContextProvider.ResourceGroupName, input.
Name
);
375
Assert.Equal(BaseProvisioningContextProvider.LocationName, input.
Name
);
507
Assert.Equal(BaseProvisioningContextProvider.TenantName, input.
Name
);
514
Assert.Equal(BaseProvisioningContextProvider.SubscriptionIdName, input.
Name
);
522
Assert.Equal(BaseProvisioningContextProvider.ResourceGroupName, input.
Name
);
529
Assert.Equal(BaseProvisioningContextProvider.LocationName, input.
Name
);
Aspire.Hosting.Browsers.Tests (5)
BrowserLogsBuilderExtensionsTests.cs (5)
102
var browserInput = arguments.Single(input => input.
Name
== BrowserLogsConfigurationManager.BrowserInputName);
103
var userDataModeInput = arguments.Single(input => input.
Name
== BrowserLogsConfigurationManager.UserDataModeInputName);
104
var profileInput = arguments.Single(input => input.
Name
== BrowserLogsConfigurationManager.ProfileInputName);
157
var profileInput = arguments.Single(input => input.
Name
== BrowserLogsConfigurationManager.ProfileInputName);
193
var saveInput = arguments.Single(input => input.
Name
== BrowserLogsConfigurationManager.SaveToUserSecretsInputName);
Aspire.Hosting.EntityFrameworkCore.Tests (1)
EFMigrationCommandsTests.cs (1)
71
Assert.Equal("name", nameArgument.
Name
);
Aspire.Hosting.Foundry.Tests (1)
HostedAgentExtensionTests.cs (1)
88
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 (37)
AddParameterTests.cs (3)
448
Assert.Equal("value", input.
Name
);
537
Assert.Equal("value", input.
Name
);
635
Assert.Equal("value", input.
Name
);
Backchannel\AuxiliaryBackchannelRpcTargetTests.cs (1)
2643
var target = context.Inputs.Single(argument => argument.
Name
== "target");
Dashboard\DashboardServiceTests.cs (11)
425
var target = context.Inputs.Single(argument => argument.
Name
== "target");
1082
var (fileId, _) = fileUploadStore.CreateEntry("spoofed.txt", interaction.InteractionId, textInput.
Name
);
1092
Name = textInput.
Name
,
1101
Assert.Empty(resultInputs[textInput.
Name
].GetFiles());
1102
Assert.Equal(value, resultInputs[textInput.
Name
].Value);
1120
var (fileId, filePath) = fileUploadStore.CreateEntry("document.txt", interaction.InteractionId, input.
Name
);
1121
var (secondFileId, secondFilePath) = fileUploadStore.CreateEntry("second.txt", interaction.InteractionId, input.
Name
);
1133
Name = input.
Name
,
1162
Assert.Null(fileUploadStore.GetFilePath(fileId, interaction.InteractionId, input.
Name
));
1163
Assert.Null(fileUploadStore.GetFilePath(secondFileId, interaction.InteractionId, input.
Name
));
1184
var (fileId, _) = fileUploadStore.CreateEntry("document.txt", interaction.InteractionId, input.
Name
);
InteractionServiceTests.cs (1)
1529
Assert.Equal((input.
Name
, InteractionHelpers.GetMaxFileCount(allowMultipleFiles)), Assert.Single(registeredFileInputs));
Orchestrator\ParameterProcessorTests.cs (3)
902
Assert.Equal(ParameterProcessor.SetParameterValueName, valueInput.
Name
);
908
saveInput => Assert.Equal(ParameterProcessor.SaveToUserSecretsName, saveInput.
Name
));
910
var saveToUserSecretsInput = setValueCommand.Arguments.Single(argument => argument.
Name
== ParameterProcessor.SaveToUserSecretsName);
Publishing\PipelineActivityReporterTests.cs (5)
660
var (fileId, filePath) = _fileUploadStore.CreateEntry("artifact.zip", interactionId, input.
Name
);
667
Name = input.
Name
,
680
Assert.Equal(filePath, _fileUploadStore.GetFilePath(fileId, interactionId, input.
Name
));
684
Assert.Null(_fileUploadStore.GetFilePath(fileId, interactionId, input.
Name
));
700
var (fileId, _) = _fileUploadStore.CreateEntry("artifact.zip", interactionId, input.
Name
);
ResourceCommandServiceTests.cs (9)
970
Assert.Equal("selector", invalidArgument.
Name
);
1044
Assert.Equal("location", invalidArgument.
Name
);
1133
var itemArgument = Assert.Single(result.InvalidArguments, argument => argument.
Name
== "item");
1136
var priorityArgument = Assert.Single(result.InvalidArguments, argument => argument.
Name
== "priority");
1302
Assert.Equal("selector", input.
Name
);
1430
Assert.Equal("selector", invalidArgument.
Name
);
1552
Assert.Equal("target", invalidArgument.
Name
);
1584
var target = context.Inputs.Single(argument => argument.
Name
== "target");
1600
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)
354
PropertyNames = inputsWithValues.Select(i => i.
Name
).ToArray()
InteractionCommands.cs (6)
136
logger.LogInformation("Input: {Name} = {Value}", input.
Name
, input.Value);
273
logger.LogInformation("Input: {Name} = {Value}", updatedInput.
Name
, updatedInput.Value);
412
logger.LogInformation("Input: {Name} = {Value}", updatedInput.
Name
, updatedInput.Value);
518
logger.LogInformation("Input: {Name} = {Value}", updatedInput.
Name
, value);
594
logger.LogInformation("Input: {Name} = {Value}", input.
Name
, input.Value);
785
logger.LogInformation("Azure provisioning: {Name} = {Value}", input.
Name
, input.Value);