309 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)
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)
345
Name
= SaveToUserSecretsName,
385
Name
= DeleteFromUserSecretsName,
495
Name
= DeleteFromUserSecretsName,
527
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" }
5317
Name
= value.Name,
5327
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 (148)
AddParameterTests.cs (8)
704
Name
= "CustomInput",
810
Name
= "TestParameter",
836
Name
= "CustomInput",
854
Name
= "CustomInput",
872
Name
= "CustomInput",
890
Name
= "CustomInput",
917
Name
= "CustomInput",
958
Name
= "TestParam",
Backchannel\AuxiliaryBackchannelRpcTargetTests.cs (14)
214
Name
= "selector",
2309
Name
= "selector",
2314
Name
= "clickCount",
2319
Name
= "snapshotAfter",
2374
Name
= "selector",
2425
Name
= "selector",
2430
Name
= "clickCount",
2435
Name
= "snapshotAfter",
2482
Name
= "browser",
2492
Name
= "profile",
2556
Name
= "category",
2566
Name
= "item",
2631
Name
= "selector",
2679
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 });
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 };
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 (7)
1314
Name
= "ParameterInput",
1346
Name
= "Region",
1353
Name
= "Zone",
1391
Name
= "Secret",
1673
Name
= ParameterProcessor.SetParameterValueName,
1679
Name
= ParameterProcessor.SaveToUserSecretsName,
1691
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)
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)
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",
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,
116 references to Name
Aspire.Hosting (42)
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
,
1393
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)
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)))
Orchestrator\ParameterProcessor.cs (2)
749
.Where(i => !string.Equals(i.Input.
Name
, i.ParameterResource.Name, StringComparisons.InteractionInputName))
753
.Select(i => i.Input.
Name
)
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
);
982
Assert.Equal(AzureBicepResource.KnownParameters.Location, locationArgument.
Name
);
988
Assert.Equal(AzureProvisioningController.ConfirmDeleteArgumentName, confirmDeleteArgument.
Name
);
5327
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 (40)
AddParameterTests.cs (3)
760
Assert.Equal("value", input.
Name
);
902
Assert.Equal("value", input.
Name
);
1000
Assert.Equal("value", input.
Name
);
Backchannel\AuxiliaryBackchannelRpcTargetTests.cs (1)
2685
var target = context.Inputs.Single(argument => argument.
Name
== "target");
Dashboard\DashboardServiceTests.cs (11)
430
var target = context.Inputs.Single(argument => argument.
Name
== "target");
1237
var (fileId, _) = fileUploadStore.CreateEntry("spoofed.txt", interaction.InteractionId, textInput.
Name
);
1247
Name = textInput.
Name
,
1256
Assert.Empty(resultInputs[textInput.
Name
].GetFiles());
1257
Assert.Equal(value, resultInputs[textInput.
Name
].Value);
1275
var (fileId, filePath) = fileUploadStore.CreateEntry("document.txt", interaction.InteractionId, input.
Name
);
1276
var (secondFileId, secondFilePath) = fileUploadStore.CreateEntry("second.txt", interaction.InteractionId, input.
Name
);
1288
Name = input.
Name
,
1317
Assert.Null(fileUploadStore.GetFilePath(fileId, interaction.InteractionId, input.
Name
));
1318
Assert.Null(fileUploadStore.GetFilePath(secondFileId, interaction.InteractionId, input.
Name
));
1339
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 (6)
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
));
1404
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)
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)
355
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);