Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
JsonPatchDocument<TModel> Class
Definition
- Namespace:
- Microsoft.AspNetCore.JsonPatch
- Assembly:
- Microsoft.AspNetCore.JsonPatch.dll
- Package:
- Microsoft.AspNetCore.JsonPatch v1.0.0
- Package:
- Microsoft.AspNetCore.JsonPatch v1.1.0
- Package:
- Microsoft.AspNetCore.JsonPatch v10.0.0
- Package:
- Microsoft.AspNetCore.JsonPatch v11.0.0-preview.4.26230.115
- Package:
- Microsoft.AspNetCore.JsonPatch v2.0.0
- Package:
- Microsoft.AspNetCore.JsonPatch v2.1.0
- Package:
- Microsoft.AspNetCore.JsonPatch v2.2.0
- Package:
- Microsoft.AspNetCore.JsonPatch v3.0.3
- Package:
- Microsoft.AspNetCore.JsonPatch v3.1.18
- Package:
- Microsoft.AspNetCore.JsonPatch v5.0.9
- Package:
- Microsoft.AspNetCore.JsonPatch v6.0.6
- Package:
- Microsoft.AspNetCore.JsonPatch v7.0.5
- Package:
- Microsoft.AspNetCore.JsonPatch v8.0.19
- Package:
- Microsoft.AspNetCore.JsonPatch v9.0.8
- Source:
- JsonPatchDocumentOfT.cs
- Source:
- JsonPatchDocumentOfT.cs
- Source:
- JsonPatchDocumentOfT.cs
- Source:
- JsonPatchDocumentOfT.cs
- Source:
- JsonPatchDocumentOfT.cs
- Source:
- JsonPatchDocumentOfT.cs
- Source:
- JsonPatchDocumentOfT.cs
- Source:
- JsonPatchDocumentOfT.cs
- Source:
- JsonPatchDocumentOfT.cs
- Source:
- JsonPatchDocumentOfT.cs
- Source:
- JsonPatchDocumentOfT.cs
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.
generic <typename TModel>
where TModel : classpublic ref class JsonPatchDocument : Microsoft::AspNetCore::JsonPatch::IJsonPatchDocument
[Newtonsoft.Json.JsonConverter(typeof(Microsoft.AspNetCore.JsonPatch.Converters.TypedJsonPatchDocumentConverter))]
public class JsonPatchDocument<TModel> : Microsoft.AspNetCore.JsonPatch.IJsonPatchDocument where TModel : class
[Newtonsoft.Json.JsonConverter(typeof(Microsoft.AspNetCore.JsonPatch.Converters.TypedJsonPatchDocumentConverter))]
public class JsonPatchDocument<TModel> : Microsoft.AspNetCore.Http.Metadata.IEndpointParameterMetadataProvider, Microsoft.AspNetCore.JsonPatch.IJsonPatchDocument where TModel : class
[<Newtonsoft.Json.JsonConverter(typeof(Microsoft.AspNetCore.JsonPatch.Converters.TypedJsonPatchDocumentConverter))>]
type JsonPatchDocument<'Model (requires 'Model : null)> = class
interface IJsonPatchDocument
[<Newtonsoft.Json.JsonConverter(typeof(Microsoft.AspNetCore.JsonPatch.Converters.TypedJsonPatchDocumentConverter))>]
type JsonPatchDocument<'Model (requires 'Model : null)> = class
interface IJsonPatchDocument
interface IEndpointParameterMetadataProvider
Public Class JsonPatchDocument(Of TModel)
Implements IJsonPatchDocument
Public Class JsonPatchDocument(Of TModel)
Implements IEndpointParameterMetadataProvider, IJsonPatchDocument
Type Parameters
- TModel
- Inheritance
-
JsonPatchDocument<TModel>
- Attributes
-
Newtonsoft.Json.JsonConverterAttribute
- Implements
Constructors
| Name | Description |
|---|---|
| JsonPatchDocument<TModel>() | |
| JsonPatchDocument<TModel>(List<Operation<TModel>>, IContractResolver) | |
Properties
| Name | Description |
|---|---|
| ContractResolver | |
| Operations | |
Methods
Explicit Interface Implementations
| Name | Description |
|---|---|
| IEndpointParameterMetadataProvider.PopulateMetadata(ParameterInfo, EndpointBuilder) |
Populates metadata for the related Endpoint and ParameterInfo. |
| IJsonPatchDocument.GetOperations() | |
Extension Methods
| Name | Description |
|---|---|
| ApplyTo<T>(JsonPatchDocument<T>, T, ModelStateDictionary, String) |
Applies JSON patch operations on object and logs errors in ModelStateDictionary. |
| ApplyTo<T>(JsonPatchDocument<T>, T, ModelStateDictionary) |
Applies JSON patch operations on object and logs errors in ModelStateDictionary. |
Applies to
Feedback
Was this page helpful?
