11 references to Move
Microsoft.AspNetCore.JsonPatch.Tests (11)
CustomNamingStrategyTests.cs (1)
75
patchDocument.
Move
("StringProperty", "AnotherStringProperty");
IntegrationTests\AnonymousObjectIntegrationTest.cs (1)
136
patchDocument.
Move
("StringProperty", "AnotherStringProperty");
IntegrationTests\DictionaryIntegrationTest.cs (2)
72
patchDocument.
Move
("/DictionaryOfStringToInteger/one", "/DictionaryOfStringToInteger/two");
235
patchDocument.
Move
($"/DictionaryOfStringToCustomer/{key1}/Name", $"/DictionaryOfStringToCustomer/{key2}/Name");
IntegrationTests\DynamicObjectIntegrationTest.cs (2)
96
patchDocument.
Move
("StringProperty", "AnotherStringProperty");
116
patchDocument.
Move
("StringProperty", "SimpleObject/AnotherStringProperty");
IntegrationTests\ExpandoObjectIntegrationTest.cs (2)
225
patchDocument.
Move
("IntegerValue", "AnotherIntegerValue");
247
patchDocument.
Move
("StringProperty", "AnotherStringProperty");
IntegrationTests\ListIntegrationTest.cs (1)
303
patchDocument.
Move
("IntegerValue", "IntegerList/-");
IntegrationTests\SimpleObjectIntegrationTest.cs (2)
80
patchDocument.
Move
("IntegerValue", "AnotherIntegerValue");
155
document.
Move
("/Object", "/Object/goodbye");