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