27 references to Add
Aspire.Cli.Tests (3)
Projects\ProjectUpdaterTests.cs (3)
4113packageReferences.Add(newPackageReference); 4129packageReferences.Add(newPackageReference); 4144projectReferences.Add(newProjectReference);
Aspire.Hosting (5)
Dcp\JsonPatch.cs (5)
61operations.Add(CreateOperation("remove", AppendPath(path, property.Key))); 74operations.Add(CreateOperation("add", propertyPath, property.Value)); 91operations.Add(CreateOperation("remove", AppendPath(path, index))); 96operations.Add(CreateOperation("add", AppendPath(path, index), changedArray[index])); 102operations.Add(CreateOperation("replace", path, changed));
Aspire.Hosting.Azure (4)
AzureDeploymentOperationDetails.cs (1)
186array.Add(operation.ToJsonObject());
AzureProvisioningController.cs (1)
2454deletedResourceIds.Add(JsonValue.Create(resourceId));
AzureProvisioningFailureDetails.cs (2)
377array.Add(new JsonObject 492supportedLocations.Add(location);
Aspire.Hosting.Azure.Sandboxes (1)
AzureSandboxContainerDeployment.cs (1)
352portStates.Add(new JsonObject
ConfigurationSchemaGenerator (1)
ConfigSchemaEmitter.cs (1)
604enumNode.Add(member);
Microsoft.AspNetCore.JsonPatch.SystemTextJson (1)
Helpers\GenericListOrJsonArrayUtilities.cs (1)
98array.Add(value);
Microsoft.NET.Build.Containers (5)
ImageConfig.cs (1)
318envVarJson.Add($"{envVar.Key}={envVar.Value}");
LocalDaemons\ContainerArchive.cs (2)
133layerTarballPaths?.Add(layerTarballPath); 162tagsNode.Add($"{destinationReference.Repository}:{tag}");
LocalDaemons\DockerCli.cs (2)
349layerTarballPaths?.Add(layerTarballPath); 388tagsNode.Add($"{destinationReference.Repository}:{tag}");
MSBuild (2)
JsonOutputFormatter.cs (2)
72itemArray.Add(jsonItem); 111outputArray.Add(jsonItem);
SelectTests (4)
Program.cs (4)
663array.Add(value); 687path.Add(hop); 691causeArray.Add(new JsonObject 701array.Add(new JsonObject
TestProject.AppHost (1)
TestProgram.cs (1)
196endpointsJsonArray.Add(endpointJsonObject);