10 references to Add
Microsoft.AspNetCore.JsonPatch.SystemTextJson.Tests (10)
IntegrationTests\AnonymousObjectIntegrationTest.cs (2)
18patchDocument.Add("NewProperty", 4); 41patchDocument.Add("StringProperty", "B");
IntegrationTests\DictionaryIntegrationTest.cs (2)
34patchDocument.Add("/DictionaryOfStringToInteger/three", 3); 189patchDocument.Add($"/DictionaryOfStringToCustomer/{key1}/Name", "James");
IntegrationTests\HeterogenousCollectionTests.cs (1)
39patchDocument.Add("/Items/-", circleJObject);
IntegrationTests\SimpleObjectIntegrationTest.cs (1)
140patchDocument.Add("GuidValue", newGuid);
JsonPatchDocumentJsonPropertyAttributeTest.cs (2)
34patchDocument.Add("/First Name.", "John"); 35patchDocument.Add("Last\\Name", "Doe");
JsonPatchDocumentTest.cs (2)
25patchDocument.Add("//NewInt", 1); 43patchDocument.Add("NewInt//", 1);