12 references to Copy
Microsoft.AspNetCore.JsonPatch.Tests (12)
CustomNamingStrategyTests.cs (1)
51
patchDocument.
Copy
("StringProperty", "AnotherStringProperty");
IntegrationTests\DictionaryIntegrationTest.cs (2)
109
patchDocument.
Copy
("/DictionaryOfStringToInteger/one", "/DictionaryOfStringToInteger/two");
258
patchDocument.
Copy
($"/DictionaryOfStringToCustomer/{key1}/Name", $"/DictionaryOfStringToCustomer/{key2}/Name");
IntegrationTests\DynamicObjectIntegrationTest.cs (1)
79
patchDocument.
Copy
("NestedDynamicObject/StringProperty", "NestedDynamicObject/AnotherStringProperty");
IntegrationTests\ExpandoObjectIntegrationTest.cs (2)
188
patchDocument.
Copy
("StringProperty", "AnotherStringProperty");
207
patchDocument.
Copy
("StringProperty", "AnotherStringProperty");
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)
59
patchDocument.
Copy
("StringProperty", "AnotherStringProperty");
85
patchDocUntyped.
Copy
("StringProperty", "AnotherStringProperty");