79 instantiations of JsonPatchDocument
Microsoft.AspNetCore.JsonPatch (1)
Converters\JsonPatchDocumentConverter.cs (1)
55
var container = new
JsonPatchDocument
(targetOperations, DefaultContractResolver);
Microsoft.AspNetCore.JsonPatch.Tests (77)
CustomNamingStrategyTests.cs (5)
25
var patchDocument = new
JsonPatchDocument
();
50
var patchDocument = new
JsonPatchDocument
();
74
var patchDocument = new
JsonPatchDocument
();
102
var patchDocument = new
JsonPatchDocument
();
127
var patchDocument = new
JsonPatchDocument
();
IntegrationTests\AnonymousObjectIntegrationTest.cs (8)
17
var patchDocument = new
JsonPatchDocument
();
41
var patchDocument = new
JsonPatchDocument
();
64
var patchDocument = new
JsonPatchDocument
();
87
var patchDocument = new
JsonPatchDocument
();
111
var patchDocument = new
JsonPatchDocument
();
135
var patchDocument = new
JsonPatchDocument
();
159
var patchDocument = new
JsonPatchDocument
();
176
var patchDocument = new
JsonPatchDocument
();
IntegrationTests\DictionaryIntegrationTest.cs (14)
19
var patchDocument = new
JsonPatchDocument
();
33
var patchDocument = new
JsonPatchDocument
();
53
var patchDocument = new
JsonPatchDocument
();
71
var patchDocument = new
JsonPatchDocument
();
89
var patchDocument = new
JsonPatchDocument
();
108
var patchDocument = new
JsonPatchDocument
();
149
var patchDocument = new
JsonPatchDocument
();
164
var patchDocument = new
JsonPatchDocument
();
188
var patchDocument = new
JsonPatchDocument
();
212
var patchDocument = new
JsonPatchDocument
();
234
var patchDocument = new
JsonPatchDocument
();
257
var patchDocument = new
JsonPatchDocument
();
281
var patchDocument = new
JsonPatchDocument
();
305
var patchDocument = new
JsonPatchDocument
();
IntegrationTests\DynamicObjectIntegrationTest.cs (10)
23
var patchDocument = new
JsonPatchDocument
();
56
var patchDocument = new
JsonPatchDocument
();
78
var patchDocument = new
JsonPatchDocument
();
95
var patchDocument = new
JsonPatchDocument
();
115
var patchDocument = new
JsonPatchDocument
();
135
var patchDocument = new
JsonPatchDocument
();
156
var patchDocument = new
JsonPatchDocument
();
185
var patchDocument = new
JsonPatchDocument
();
204
var patchDocument = new
JsonPatchDocument
();
221
var patchDocument = new
JsonPatchDocument
();
IntegrationTests\ExpandoObjectIntegrationTest.cs (19)
21
var patchDocument = new
JsonPatchDocument
();
44
var patchDocument = new
JsonPatchDocument
();
61
var patchDocument = new
JsonPatchDocument
();
80
var patchDocument = new
JsonPatchDocument
();
97
var patchDocument = new
JsonPatchDocument
();
115
var patchDocument = new
JsonPatchDocument
();
129
var patchDocument = new
JsonPatchDocument
();
143
var patchDocument = new
JsonPatchDocument
();
164
var patchDocument = new
JsonPatchDocument
();
187
var patchDocument = new
JsonPatchDocument
();
206
var patchDocument = new
JsonPatchDocument
();
224
var patchDocument = new
JsonPatchDocument
();
246
var patchDocument = new
JsonPatchDocument
();
268
var patchDocument = new
JsonPatchDocument
();
288
var patchDocument = new
JsonPatchDocument
();
308
var patchDocument = new
JsonPatchDocument
();
329
var patchDocument = new
JsonPatchDocument
();
350
var patchDocument = new
JsonPatchDocument
();
371
var patchDocument = new
JsonPatchDocument
();
IntegrationTests\HeterogenousCollectionTests.cs (1)
31
var patchDocument = new
JsonPatchDocument
IntegrationTests\ListIntegrationTest.cs (6)
135
var patchDocument = new
JsonPatchDocument
();
156
var patchDocument = new
JsonPatchDocument
();
200
var patchDocument = new
JsonPatchDocument
();
263
var patchDocument = new
JsonPatchDocument
();
282
var patchDocument = new
JsonPatchDocument
();
302
var patchDocument = new
JsonPatchDocument
();
IntegrationTests\NestedObjectIntegrationTest.cs (1)
128
var patchDocument = new
JsonPatchDocument
();
IntegrationTests\SimpleObjectIntegrationTest.cs (8)
22
var patchDocument = new
JsonPatchDocument
();
39
var patchDocument = new
JsonPatchDocument
();
59
var patchDocument = new
JsonPatchDocument
();
79
var patchDocument = new
JsonPatchDocument
();
99
var patchDocument = new
JsonPatchDocument
();
119
var patchDocument = new
JsonPatchDocument
();
139
var patchDocument = new
JsonPatchDocument
();
154
var document = new
JsonPatchDocument
();
JsonPatchDocumentJsonPropertyAttributeTest.cs (1)
32
var patchDocument = new
JsonPatchDocument
();
JsonPatchDocumentTest.cs (4)
16
var patchDocument = new
JsonPatchDocument
();
34
var patchDocument = new
JsonPatchDocument
();
58
var patchDocument = new
JsonPatchDocument
();
84
var patchDocUntyped = new
JsonPatchDocument
();
Microsoft.AspNetCore.Mvc.Core.Test (1)
ModelBinding\ParameterBinderTest.cs (1)
555
var modelBindingResult = ModelBindingResult.Success(new
JsonPatchDocument
());
96 references to JsonPatchDocument
Microsoft.AspNetCore.JsonPatch (14)
Converters\JsonPatchDocumentConverter.cs (2)
25
if (objectType != typeof(
JsonPatchDocument
))
55
var
container = new JsonPatchDocument(targetOperations, DefaultContractResolver);
JsonPatchDocument.cs (12)
49
/// <returns>The <see cref="
JsonPatchDocument
"/> for chaining.</returns>
50
public
JsonPatchDocument
Add(string path, object value)
63
/// <returns>The <see cref="
JsonPatchDocument
"/> for chaining.</returns>
64
public
JsonPatchDocument
Remove(string path)
78
/// <returns>The <see cref="
JsonPatchDocument
"/> for chaining.</returns>
79
public
JsonPatchDocument
Replace(string path, object value)
93
/// <returns>The <see cref="
JsonPatchDocument
"/> for chaining.</returns>
94
public
JsonPatchDocument
Test(string path, object value)
108
/// <returns>The <see cref="
JsonPatchDocument
"/> for chaining.</returns>
109
public
JsonPatchDocument
Move(string from, string path)
124
/// <returns>The <see cref="
JsonPatchDocument
"/> for chaining.</returns>
125
public
JsonPatchDocument
Copy(string from, string path)
Microsoft.AspNetCore.JsonPatch.Tests (81)
CustomNamingStrategyTests.cs (5)
25
var
patchDocument = new JsonPatchDocument();
50
var
patchDocument = new JsonPatchDocument();
74
var
patchDocument = new JsonPatchDocument();
102
var
patchDocument = new JsonPatchDocument();
127
var
patchDocument = new JsonPatchDocument();
IntegrationTests\AnonymousObjectIntegrationTest.cs (8)
17
var
patchDocument = new JsonPatchDocument();
41
var
patchDocument = new JsonPatchDocument();
64
var
patchDocument = new JsonPatchDocument();
87
var
patchDocument = new JsonPatchDocument();
111
var
patchDocument = new JsonPatchDocument();
135
var
patchDocument = new JsonPatchDocument();
159
var
patchDocument = new JsonPatchDocument();
176
var
patchDocument = new JsonPatchDocument();
IntegrationTests\DictionaryIntegrationTest.cs (14)
19
var
patchDocument = new JsonPatchDocument();
33
var
patchDocument = new JsonPatchDocument();
53
var
patchDocument = new JsonPatchDocument();
71
var
patchDocument = new JsonPatchDocument();
89
var
patchDocument = new JsonPatchDocument();
108
var
patchDocument = new JsonPatchDocument();
149
var
patchDocument = new JsonPatchDocument();
164
var
patchDocument = new JsonPatchDocument();
188
var
patchDocument = new JsonPatchDocument();
212
var
patchDocument = new JsonPatchDocument();
234
var
patchDocument = new JsonPatchDocument();
257
var
patchDocument = new JsonPatchDocument();
281
var
patchDocument = new JsonPatchDocument();
305
var
patchDocument = new JsonPatchDocument();
IntegrationTests\DynamicObjectIntegrationTest.cs (10)
23
var
patchDocument = new JsonPatchDocument();
56
var
patchDocument = new JsonPatchDocument();
78
var
patchDocument = new JsonPatchDocument();
95
var
patchDocument = new JsonPatchDocument();
115
var
patchDocument = new JsonPatchDocument();
135
var
patchDocument = new JsonPatchDocument();
156
var
patchDocument = new JsonPatchDocument();
185
var
patchDocument = new JsonPatchDocument();
204
var
patchDocument = new JsonPatchDocument();
221
var
patchDocument = new JsonPatchDocument();
IntegrationTests\ExpandoObjectIntegrationTest.cs (19)
21
var
patchDocument = new JsonPatchDocument();
44
var
patchDocument = new JsonPatchDocument();
61
var
patchDocument = new JsonPatchDocument();
80
var
patchDocument = new JsonPatchDocument();
97
var
patchDocument = new JsonPatchDocument();
115
var
patchDocument = new JsonPatchDocument();
129
var
patchDocument = new JsonPatchDocument();
143
var
patchDocument = new JsonPatchDocument();
164
var
patchDocument = new JsonPatchDocument();
187
var
patchDocument = new JsonPatchDocument();
206
var
patchDocument = new JsonPatchDocument();
224
var
patchDocument = new JsonPatchDocument();
246
var
patchDocument = new JsonPatchDocument();
268
var
patchDocument = new JsonPatchDocument();
288
var
patchDocument = new JsonPatchDocument();
308
var
patchDocument = new JsonPatchDocument();
329
var
patchDocument = new JsonPatchDocument();
350
var
patchDocument = new JsonPatchDocument();
371
var
patchDocument = new JsonPatchDocument();
IntegrationTests\HeterogenousCollectionTests.cs (1)
31
var
patchDocument = new JsonPatchDocument
IntegrationTests\ListIntegrationTest.cs (6)
135
var
patchDocument = new JsonPatchDocument();
156
var
patchDocument = new JsonPatchDocument();
200
var
patchDocument = new JsonPatchDocument();
263
var
patchDocument = new JsonPatchDocument();
282
var
patchDocument = new JsonPatchDocument();
302
var
patchDocument = new JsonPatchDocument();
IntegrationTests\NestedObjectIntegrationTest.cs (1)
128
var
patchDocument = new JsonPatchDocument();
IntegrationTests\SimpleObjectIntegrationTest.cs (8)
22
var
patchDocument = new JsonPatchDocument();
39
var
patchDocument = new JsonPatchDocument();
59
var
patchDocument = new JsonPatchDocument();
79
var
patchDocument = new JsonPatchDocument();
99
var
patchDocument = new JsonPatchDocument();
119
var
patchDocument = new JsonPatchDocument();
139
var
patchDocument = new JsonPatchDocument();
154
var
document = new JsonPatchDocument();
JsonPatchDocumentJsonPropertyAttributeTest.cs (1)
32
var
patchDocument = new JsonPatchDocument();
JsonPatchDocumentTest.cs (8)
16
var
patchDocument = new JsonPatchDocument();
34
var
patchDocument = new JsonPatchDocument();
58
var
patchDocument = new JsonPatchDocument();
84
var
patchDocUntyped = new JsonPatchDocument();
89
var
deserialized = JsonConvert.DeserializeObject<
JsonPatchDocument
>(serializedTyped);
137
var
deserialized
138
= JsonConvert.DeserializeObject<
JsonPatchDocument
>(serialized);
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (1)
JsonPatchOperationsArrayProviderTests.cs (1)
22
Type = typeof(
JsonPatchDocument
)