JsonPatchDocument<TModel> Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| JsonPatchDocument<TModel>() | |
| JsonPatchDocument<TModel>(List<Operation<TModel>>, JsonSerializerOptions) |
JsonPatchDocument<TModel>()
JsonPatchDocument<TModel>(List<Operation<TModel>>, JsonSerializerOptions)
- Source:
- JsonPatchDocumentOfT.cs
public JsonPatchDocument(System.Collections.Generic.List<Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.Operation<TModel>> operations, System.Text.Json.JsonSerializerOptions serializerOptions);
new Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument<'Model (requires 'Model : null)> : System.Collections.Generic.List<Microsoft.AspNetCore.JsonPatch.SystemTextJson.Operations.Operation<'Model>> * System.Text.Json.JsonSerializerOptions -> Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchDocument<'Model (requires 'Model : null)>
Public Sub New (operations As List(Of Operation(Of TModel)), serializerOptions As JsonSerializerOptions)
Parameters
- serializerOptions
- JsonSerializerOptions