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