9 references to Replace
Microsoft.AspNetCore.JsonPatch.Tests (9)
CustomNamingStrategyTests.cs (1)
128
patchDocument.
Replace
("Test", 2);
IntegrationTests\AnonymousObjectIntegrationTest.cs (1)
112
patchDocument.
Replace
("StringProperty", "AnotherStringProperty");
IntegrationTests\DictionaryIntegrationTest.cs (3)
90
patchDocument.
Replace
("/DictionaryOfStringToInteger/two", 20);
282
patchDocument.
Replace
($"/DictionaryOfStringToCustomer/{key1}/Name", "James");
306
patchDocument.
Replace
($"/DictionaryOfStringToInteger/Foo~1Name", 300);
IntegrationTests\DynamicObjectIntegrationTest.cs (1)
186
patchDocument.
Replace
("SimpleObject", newObject);
IntegrationTests\ExpandoObjectIntegrationTest.cs (1)
372
patchDocument.
Replace
("GuidValue", newGuid);
IntegrationTests\ListIntegrationTest.cs (1)
201
patchDocument.
Replace
("IntegerList", new Collection<int>() { 4, 5, 6 });
IntegrationTests\SimpleObjectIntegrationTest.cs (1)
120
patchDocument.
Replace
("GuidValue", newGuid);