289 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)
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)
235
Name
= SaveToUserSecretsName,
275
Name
= DeleteFromUserSecretsName,
381
Name
= DeleteFromUserSecretsName,
413
Name
= SaveToUserSecretsName,
ParameterResourceBuilderExtensions.cs (1)
264
Name
= parameter.Name,
Aspire.Hosting.Azure (17)
AzureProvisioningController.cs (7)
272
Name
= TenantIdArgumentName,
293
Name
= SubscriptionIdArgumentName,
314
Name
= ResourceGroupArgumentName,
332
Name
= LocationArgumentName,
354
Name
= LocationArgumentName,
372
Name
= ConfirmDeleteArgumentName,
675
Name
= AzureBicepResource.KnownParameters.Location,
Provisioning\Internal\PublishModeProvisioningContextProvider.cs (6)
157
Name
= TenantName,
183
Name
= TenantName,
256
Name
= SubscriptionIdName,
282
Name
= SubscriptionIdName,
350
Name
= ResourceGroupName,
448
Name
= LocationName,
Provisioning\Internal\RunModeProvisioningContextProvider.cs (4)
335
Name
= TenantName,
361
Name
= SubscriptionIdName,
396
Name
= ResourceGroupName,
437
Name
= LocationName,
Aspire.Hosting.Azure.Tests (3)
AzureDeployerTests.cs (1)
870
Name
= p.Name,
AzureEnvironmentResourceExtensionsTests.cs (2)
4996
Name
= value.Name,
5006
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)
841
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)
113
Name
= "message",
178
Name
= "message",
PromptAgentTests.cs (1)
107
Name
= "message",
Aspire.Hosting.Tests (141)
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)
177
Name
= "selector",
304
Name
= "selector",
309
Name
= "clickCount",
367
Name
= "selector",
424
Name
= "target",
569
new InteractionInput {
Name
= "Input", InputType = InputType.Text });
731
new InteractionInput {
Name
= "Input", InputType = InputType.Text, Label = "Input" });
941
? new InteractionInput {
Name
= "TestInput", Label = "Test Input", InputType = inputType, MaxFileSize = inputMaxFileSizeMB * 1024 * 1024 }
942
: new InteractionInput {
Name
= "TestInput", Label = "Test Input", InputType = inputType };
1197
var fileInput = new InteractionInput {
Name
= "File", InputType = InputType.File };
1198
var textInput = new InteractionInput {
Name
= "Text", InputType = InputType.Text };
1236
var input = new InteractionInput {
Name
= "File", InputType = InputType.File, Required = true, AllowMultipleFiles = true };
1300
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)
1236
Name
= ParameterProcessor.SetParameterValueName,
1242
Name
= ParameterProcessor.SaveToUserSecretsName,
1254
Name
= ParameterProcessor.DeleteFromUserSecretsName,
Publishing\PipelineActivityReporterTests.cs (2)
651
Name
= "artifact",
692
Name
= "artifact",
ResourceCommandServiceTests.cs (35)
530
Name
= "selector",
535
Name
= "clickCount",
545
Name
= "selector",
551
Name
= "clickCount",
588
Name
= "message",
629
Name
= "message",
669
Name
= "password",
680
Name
= "password",
711
Name
= "selector",
716
Name
= "clickCount",
722
Name
= "snapshotAfter",
756
Name
= "selector",
787
Name
= "selector",
818
Name
= "saveToUserSecrets",
850
Name
= "item",
891
Name
= "saveToUserSecrets",
953
Name
= "selector",
996
Name
= "subscription",
1003
Name
= "location",
1069
Name
= "category",
1076
Name
= "item",
1094
Name
= "priority",
1161
Name
= "mode",
1168
Name
= "profile",
1231
Name
= "selector",
1282
Name
= "selector",
1332
Name
= "text",
1337
Name
= "message",
1440
Name
= "generateTraces",
1447
Name
= "traceCount",
1511
Name
= "selector",
1623
Name
= "selector",
1629
Name
= "target",
1640
Name
= "selector",
1679
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)
49
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)
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",
1059
Name
= "generateTraces",
1068
Name
= "traceCount",
1077
Name
= "spansPerTrace",
1086
Name
= "generateLargeTrace",
1095
Name
= "largeTraceSpanCount",
1104
Name
= "generateStructuredLogs",
1112
Name
= "structuredLogCount",
1121
Name
= "generateConsoleLogs",
1129
Name
= "consoleLogCount",
1138
Name
= "generateMetrics",
1147
Name
= "metricDurationHours",
1156
Name
= "metricDimensionCount",
1385
Name
= "runId",
1395
Name
= "iterations",
1404
Name
= "enabled",
1417
Name
= $"item{i:00}",
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 };
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", 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 },
285
Name
= "Text",
294
Name
= "Password",
303
Name
= "Choice",
314
Name
= "CustomChoice",
325
Name
= "Number",
334
Name
= "Boolean",
343
Name
= "File",
364
Name
= "PredefinedOptions",
376
Name
= "CustomChoice",
424
Name
= "Dynamic",
434
Name
= "DynamicCustomChoice",
445
Name
= "DynamicTextInput",
503
Name
= "PredefinedOptions",
515
Name
= "CustomChoice",
533
Name
= "Dynamic",
568
new InteractionInput {
Name
= "Receipt", InputType = InputType.File, Label = "Receipt", Placeholder = "Upload receipt", Required = true },
653
Name
= $"Input{i + 1}",
686
Name
= "Tenant",
709
Name
= "SubscriptionId",
748
Name
= "ResourceGroup",
779
Name
= "Location",
1073
Name
= "ConfigFile",
1118
Name
= "Certificates",
Terminals.AppHost (1)
TerminalInteractionCommands.cs (1)
299
Name
= "limit",
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)
373
ArgumentName = argument.
Name
,
1392
Name = input.
Name
,
Dashboard\DashboardService.cs (2)
219
var updateStateOnChange = updateStateOnChangeInputs?.Any(i => string.Equals(i, input.
Name
, StringComparisons.InteractionInputName)) == true;
223
Name = input.
Name
,
Dashboard\DashboardServiceData.cs (6)
263
if (submittedInputsByName.TryGetValue(input.
Name
, out var submittedInput))
266
? GetAcceptedFiles(fileUploadStore, submittedInput.Value, interactionId, input.
Name
)
268
inputDtos.Add(new InputDto(input.
Name
, submittedInput.Value, input.InputType, files));
272
var files = GetAcceptedFiles(fileUploadStore, jsonValue: null, interactionId, input.
Name
);
273
inputDtos.Add(new InputDto(input.
Name
, input.Value ?? string.Empty, input.InputType, files));
366
(dynamic.DependsOnInputs?.Any(d => string.Equals(modelInput.
Name
, d, StringComparisons.InteractionInputName)) ?? false));
IInteractionService.cs (5)
279
options.Logger.LogError(ex, "Error loading options for input '{InputName}'.", options.Input.
Name
);
353
internal string EffectiveLabel => string.IsNullOrWhiteSpace(Label) ?
Name
: Label;
686
if (!usedNames.Add(input.
Name
))
688
throw new InvalidOperationException($"Duplicate input name '{input.
Name
}' found. Input names must be unique.");
690
inputsByName[input.
Name
] = input;
InteractionService.cs (3)
182
throw new InvalidOperationException($"The input '{input.
Name
}' has {nameof(InteractionInput.DynamicLoading)} that depends on an input named '{dependsOnInputName}', but no such input exists.");
186
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.");
204
.Select(input => (input.
Name
, InteractionHelpers.GetMaxFileCount(input.AllowMultipleFiles)))
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 (16)
AzureDeployerTests.cs (1)
891
Assert.Equal("custom-param", input.
Name
);
AzureEnvironmentResourceExtensionsTests.cs (7)
124
Assert.Equal("tenantId", input.
Name
);
134
Assert.Equal("subscriptionId", input.
Name
);
145
Assert.Equal("resourceGroup", input.
Name
);
156
Assert.Equal(AzureBicepResource.KnownParameters.Location, input.
Name
);
661
Assert.Equal(AzureBicepResource.KnownParameters.Location, locationArgument.
Name
);
667
Assert.Equal(AzureProvisioningController.ConfirmDeleteArgumentName, confirmDeleteArgument.
Name
);
5006
Name = input.
Name
,
ProvisioningContextProviderTests.cs (8)
351
Assert.Equal(BaseProvisioningContextProvider.TenantName, input.
Name
);
358
Assert.Equal(BaseProvisioningContextProvider.SubscriptionIdName, input.
Name
);
365
Assert.Equal(BaseProvisioningContextProvider.ResourceGroupName, input.
Name
);
372
Assert.Equal(BaseProvisioningContextProvider.LocationName, input.
Name
);
504
Assert.Equal(BaseProvisioningContextProvider.TenantName, input.
Name
);
511
Assert.Equal(BaseProvisioningContextProvider.SubscriptionIdName, input.
Name
);
519
Assert.Equal(BaseProvisioningContextProvider.ResourceGroupName, input.
Name
);
526
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)
71
Assert.Equal("name", nameArgument.
Name
);
Aspire.Hosting.Foundry.Tests (1)
HostedAgentExtensionTests.cs (1)
89
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)
430
var target = context.Inputs.Single(argument => argument.
Name
== "target");
1201
var (fileId, _) = fileUploadStore.CreateEntry("spoofed.txt", interaction.InteractionId, textInput.
Name
);
1211
Name = textInput.
Name
,
1220
Assert.Empty(resultInputs[textInput.
Name
].GetFiles());
1221
Assert.Equal(value, resultInputs[textInput.
Name
].Value);
1239
var (fileId, filePath) = fileUploadStore.CreateEntry("document.txt", interaction.InteractionId, input.
Name
);
1240
var (secondFileId, secondFilePath) = fileUploadStore.CreateEntry("second.txt", interaction.InteractionId, input.
Name
);
1252
Name = input.
Name
,
1281
Assert.Null(fileUploadStore.GetFilePath(fileId, interaction.InteractionId, input.
Name
));
1282
Assert.Null(fileUploadStore.GetFilePath(secondFileId, interaction.InteractionId, input.
Name
));
1303
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)
900
Assert.Equal(ParameterProcessor.SetParameterValueName, valueInput.
Name
);
906
saveInput => Assert.Equal(ParameterProcessor.SaveToUserSecretsName, saveInput.
Name
));
908
var saveToUserSecretsInput = setValueCommand.Arguments.Single(argument => argument.
Name
== ParameterProcessor.SaveToUserSecretsName);
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)
971
Assert.Equal("selector", invalidArgument.
Name
);
1045
Assert.Equal("location", invalidArgument.
Name
);
1134
var itemArgument = Assert.Single(result.InvalidArguments, argument => argument.
Name
== "item");
1137
var priorityArgument = Assert.Single(result.InvalidArguments, argument => argument.
Name
== "priority");
1303
Assert.Equal("selector", input.
Name
);
1533
Assert.Equal("selector", invalidArgument.
Name
);
1655
Assert.Equal("target", invalidArgument.
Name
);
1687
var target = context.Inputs.Single(argument => argument.
Name
== "target");
1703
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);
493
logger.LogInformation("Input: {Name} = {Value}", updatedInput.
Name
, updatedInput.Value);
599
logger.LogInformation("Input: {Name} = {Value}", updatedInput.
Name
, value);
675
logger.LogInformation("Input: {Name} = {Value}", input.
Name
, input.Value);
866
logger.LogInformation("Azure provisioning: {Name} = {Value}", input.
Name
, input.Value);