8 references to Copy
Microsoft.AspNetCore.JsonPatch.SystemTextJson.Tests (8)
IntegrationTests\DictionaryIntegrationTest.cs (2)
109
patchDocument.
Copy
("/DictionaryOfStringToInteger/one", "/DictionaryOfStringToInteger/two");
258
patchDocument.
Copy
($"/DictionaryOfStringToCustomer/{key1}/Name", $"/DictionaryOfStringToCustomer/{key2}/Name");
IntegrationTests\ListIntegrationTest.cs (2)
264
patchDocument.
Copy
("IntegerList/0", "IntegerList/-");
283
patchDocument.
Copy
("IntegerList/0", "IntegerValue");
IntegrationTests\SimpleObjectIntegrationTest.cs (2)
40
patchDocument.
Copy
("StringProperty", "AnotherStringProperty");
60
patchDocument.
Copy
("StringProperty", "AnotherStringProperty");
JsonPatchDocumentTest.cs (2)
63
patchDocument.
Copy
("StringProperty", "AnotherStringProperty");
124
patchDocUntyped.
Copy
("StringProperty", "AnotherStringProperty");