1 instantiation of JsonPatchDocument
Microsoft.AspNetCore.JsonPatch.SystemTextJson (1)
Converters\JsonConverterForJsonPatchDocumentOfT.cs (1)
45
return new
JsonPatchDocument
<T>(ops, options);
54 references to JsonPatchDocument
Microsoft.AspNetCore.JsonPatch.SystemTextJson (54)
Converters\JsonConverterForJsonPatchDocumentOfT.cs (5)
12
internal sealed class JsonConverterForJsonPatchDocumentOfT<T> : JsonConverter<
JsonPatchDocument
<T>>
18
public override
JsonPatchDocument
<T> Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
20
if (typeToConvert != typeof(
JsonPatchDocument
<T>))
22
throw new ArgumentException(Resources.FormatParameterMustMatchType(nameof(typeToConvert), nameof(
JsonPatchDocument
<T>)), nameof(typeToConvert));
53
public override void Write(Utf8JsonWriter writer,
JsonPatchDocument
<T> value, JsonSerializerOptions options)
Converters\JsonPatchDocumentConverterFactory.cs (1)
15
(typeToConvert.IsGenericType && typeToConvert.GetGenericTypeDefinition() == typeof(
JsonPatchDocument
<>));
JsonPatchDocumentOfT.cs (48)
55
/// <returns>The <see cref="
JsonPatchDocument
{TModel}"/> for chaining.</returns>
56
public
JsonPatchDocument
<TModel> Add<TProp>(Expression<Func<TModel, TProp>> path, TProp value)
76
/// <returns>The <see cref="
JsonPatchDocument
{TModel}"/> for chaining.</returns>
77
public
JsonPatchDocument
<TModel> Add<TProp>(
99
/// <returns>The <see cref="
JsonPatchDocument
{TModel}"/> for chaining.</returns>
100
public
JsonPatchDocument
<TModel> Add<TProp>(Expression<Func<TModel, IList<TProp>>> path, TProp value)
118
/// <returns>The <see cref="
JsonPatchDocument
{TModel}"/> for chaining.</returns>
119
public
JsonPatchDocument
<TModel> Remove<TProp>(Expression<Func<TModel, TProp>> path)
134
/// <returns>The <see cref="
JsonPatchDocument
{TModel}"/> for chaining.</returns>
135
public
JsonPatchDocument
<TModel> Remove<TProp>(Expression<Func<TModel, IList<TProp>>> path, int position)
152
/// <returns>The <see cref="
JsonPatchDocument
{TModel}"/> for chaining.</returns>
153
public
JsonPatchDocument
<TModel> Remove<TProp>(Expression<Func<TModel, IList<TProp>>> path)
171
/// <returns>The <see cref="
JsonPatchDocument
{TModel}"/> for chaining.</returns>
172
public
JsonPatchDocument
<TModel> Replace<TProp>(Expression<Func<TModel, TProp>> path, TProp value)
192
/// <returns>The <see cref="
JsonPatchDocument
{TModel}"/> for chaining.</returns>
193
public
JsonPatchDocument
<TModel> Replace<TProp>(Expression<Func<TModel, IList<TProp>>> path,
213
/// <returns>The <see cref="
JsonPatchDocument
{TModel}"/> for chaining.</returns>
214
public
JsonPatchDocument
<TModel> Replace<TProp>(Expression<Func<TModel, IList<TProp>>> path, TProp value)
233
/// <returns>The <see cref="
JsonPatchDocument
{TModel}"/> for chaining.</returns>
234
public
JsonPatchDocument
<TModel> Test<TProp>(Expression<Func<TModel, TProp>> path, TProp value)
254
/// <returns>The <see cref="
JsonPatchDocument
{TModel}"/> for chaining.</returns>
255
public
JsonPatchDocument
<TModel> Test<TProp>(Expression<Func<TModel, IList<TProp>>> path,
275
/// <returns>The <see cref="
JsonPatchDocument
{TModel}"/> for chaining.</returns>
276
public
JsonPatchDocument
<TModel> Test<TProp>(Expression<Func<TModel, IList<TProp>>> path, TProp value)
295
/// <returns>The <see cref="
JsonPatchDocument
{TModel}"/> for chaining.</returns>
296
public
JsonPatchDocument
<TModel> Move<TProp>(
318
/// <returns>The <see cref="
JsonPatchDocument
{TModel}"/> for chaining.</returns>
319
public
JsonPatchDocument
<TModel> Move<TProp>(
342
/// <returns>The <see cref="
JsonPatchDocument
{TModel}"/> for chaining.</returns>
343
public
JsonPatchDocument
<TModel> Move<TProp>(
367
/// <returns>The <see cref="
JsonPatchDocument
{TModel}"/> for chaining.</returns>
368
public
JsonPatchDocument
<TModel> Move<TProp>(
392
/// <returns>The <see cref="
JsonPatchDocument
{TModel}"/> for chaining.</returns>
393
public
JsonPatchDocument
<TModel> Move<TProp>(
415
/// <returns>The <see cref="
JsonPatchDocument
{TModel}"/> for chaining.</returns>
416
public
JsonPatchDocument
<TModel> Move<TProp>(
437
/// <returns>The <see cref="
JsonPatchDocument
{TModel}"/> for chaining.</returns>
438
public
JsonPatchDocument
<TModel> Copy<TProp>(
460
/// <returns>The <see cref="
JsonPatchDocument
{TModel}"/> for chaining.</returns>
461
public
JsonPatchDocument
<TModel> Copy<TProp>(
484
/// <returns>The <see cref="
JsonPatchDocument
{TModel}"/> for chaining.</returns>
485
public
JsonPatchDocument
<TModel> Copy<TProp>(
509
/// <returns>The <see cref="
JsonPatchDocument
{TModel}"/> for chaining.</returns>
510
public
JsonPatchDocument
<TModel> Copy<TProp>(
534
/// <returns>The <see cref="
JsonPatchDocument
{TModel}"/> for chaining.</returns>
535
public
JsonPatchDocument
<TModel> Copy<TProp>(
557
/// <returns>The <see cref="
JsonPatchDocument
{TModel}"/> for chaining.</returns>
558
public
JsonPatchDocument
<TModel> Copy<TProp>(