74 references to ApplyTo
Microsoft.AspNetCore.JsonPatch.Tests (74)
CustomNamingStrategyTests.cs (5)
30
patchDocument.
ApplyTo
(targetObject);
55
patchDocument.
ApplyTo
(targetObject);
79
patchDocument.
ApplyTo
(targetObject);
107
patchDocument.
ApplyTo
(targetObject);
132
patchDocument.
ApplyTo
(targetObject);
IntegrationTests\AnonymousObjectIntegrationTest.cs (8)
23
patchDocument.
ApplyTo
(targetObject);
47
patchDocument.
ApplyTo
(targetObject);
70
patchDocument.
ApplyTo
(targetObject);
93
patchDocument.
ApplyTo
(targetObject);
117
patchDocument.
ApplyTo
(targetObject);
141
patchDocument.
ApplyTo
(targetObject);
163
patchDocument.
ApplyTo
(targetObject);
182
patchDocument.
ApplyTo
(targetObject);
IntegrationTests\DictionaryIntegrationTest.cs (14)
23
patchDocument.
ApplyTo
(model);
37
patchDocument.
ApplyTo
(model);
57
patchDocument.
ApplyTo
(model);
75
patchDocument.
ApplyTo
(model);
93
patchDocument.
ApplyTo
(model);
112
patchDocument.
ApplyTo
(model);
153
patchDocument.
ApplyTo
(model);
170
patchDocument.
ApplyTo
(model);
192
patchDocument.
ApplyTo
(model);
216
patchDocument.
ApplyTo
(model);
238
patchDocument.
ApplyTo
(model);
261
patchDocument.
ApplyTo
(model);
285
patchDocument.
ApplyTo
(model);
309
patchDocument.
ApplyTo
(model);
IntegrationTests\DynamicObjectIntegrationTest.cs (10)
27
patchDocument.
ApplyTo
(dynamicTestObject);
62
patchDocument.
ApplyTo
(nestedObject);
82
patchDocument.
ApplyTo
(dynamicTestObject);
99
patchDocument.
ApplyTo
(dynamicTestObject);
119
patchDocument.
ApplyTo
(dynamicTestObject);
139
patchDocument.
ApplyTo
(dynamicTestObject);
162
patchDocument.
ApplyTo
(dynamicTestObject);
189
patchDocument.
ApplyTo
(dynamicTestObject);
208
patchDocument.
ApplyTo
(dynamicTestObject);
227
patchDocument.
ApplyTo
(dynamicTestObject);
IntegrationTests\ExpandoObjectIntegrationTest.cs (19)
25
patchDocument.
ApplyTo
(targetObject);
48
patchDocument.
ApplyTo
(targetObject);
65
patchDocument.
ApplyTo
(targetObject);
84
patchDocument.
ApplyTo
(targetObject);
101
patchDocument.
ApplyTo
(targetObject);
119
patchDocument.
ApplyTo
(targetObject);
133
patchDocument.
ApplyTo
(targetObject);
149
patchDocument.
ApplyTo
(targetObject);
170
patchDocument.
ApplyTo
(targetObject);
191
patchDocument.
ApplyTo
(targetObject);
210
patchDocument.
ApplyTo
(targetObject);
228
patchDocument.
ApplyTo
(targetObject);
250
patchDocument.
ApplyTo
(targetObject);
274
patchDocument.
ApplyTo
(targetObject);
292
patchDocument.
ApplyTo
(targetObject);
314
patchDocument.
ApplyTo
(targetObject);
333
patchDocument.
ApplyTo
(targetObject);
356
patchDocument.
ApplyTo
(targetObject);
375
patchDocument.
ApplyTo
(targetObject);
IntegrationTests\HeterogenousCollectionTests.cs (1)
39
patchDocument.
ApplyTo
(targetObject);
IntegrationTests\ListIntegrationTest.cs (6)
139
patchDocument.
ApplyTo
(targetObject);
162
patchDocument.
ApplyTo
(targetObject);
204
patchDocument.
ApplyTo
(targetObject);
267
patchDocument.
ApplyTo
(targetObject);
286
patchDocument.
ApplyTo
(targetObject);
306
patchDocument.
ApplyTo
(targetObject);
IntegrationTests\NestedObjectIntegrationTest.cs (1)
131
patchDocument.
ApplyTo
(targetObject);
IntegrationTests\SimpleObjectIntegrationTest.cs (8)
26
patchDocument.
ApplyTo
(targetObject);
43
patchDocument.
ApplyTo
(targetObject);
63
patchDocument.
ApplyTo
(targetObject);
83
patchDocument.
ApplyTo
(targetObject);
103
patchDocument.
ApplyTo
(targetObject);
123
patchDocument.
ApplyTo
(targetObject);
143
patchDocument.
ApplyTo
(targetObject);
164
var ex = Assert.Throws<JsonPatchException>(() => document.
ApplyTo
(target));
JsonPatchDocumentJsonPropertyAttributeTest.cs (1)
37
patchDocument.
ApplyTo
(obj);
JsonPatchDocumentTest.cs (1)
92
deserialized.
ApplyTo
(targetObject);