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