Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
JsonPatchDocument.ApplyTo Method
Definition
- Assembly:
- Microsoft.AspNetCore.JsonPatch.SystemTextJson.dll
- Package:
- Microsoft.AspNetCore.JsonPatch.SystemTextJson v10.0.0
- Package:
- Microsoft.AspNetCore.JsonPatch.SystemTextJson v11.0.0-preview.4.26230.115
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 |
|---|---|
| ApplyTo(Object) |
Apply this JsonPatchDocument to a specified object. |
| ApplyTo(Object, IObjectAdapter) |
Apply this JsonPatchDocument |
| ApplyTo(Object, Action<JsonPatchError>) |
Apply this JsonPatchDocument |
| ApplyTo(Object, IObjectAdapter, Action<JsonPatchError>) |
Apply this JsonPatchDocument |
ApplyTo(Object)
- Source:
- JsonPatchDocument.cs
- Source:
- JsonPatchDocument.cs
Apply this JsonPatchDocument to a specified object.
public void ApplyTo(object objectToApplyTo);
member this.ApplyTo : obj -> unit
Public Sub ApplyTo (objectToApplyTo As Object)
Parameters
- objectToApplyTo
- Object
Object to apply the JsonPatchDocument to
Applies to
ApplyTo(Object, IObjectAdapter)
- Source:
- JsonPatchDocument.cs
- Source:
- JsonPatchDocument.cs
Apply this JsonPatchDocument
public void ApplyTo(object objectToApplyTo, Microsoft.AspNetCore.JsonPatch.SystemTextJson.Adapters.IObjectAdapter adapter);
member this.ApplyTo : obj * Microsoft.AspNetCore.JsonPatch.SystemTextJson.Adapters.IObjectAdapter -> unit
Public Sub ApplyTo (objectToApplyTo As Object, adapter As IObjectAdapter)
Parameters
- objectToApplyTo
- Object
Object to apply the JsonPatchDocument to
- adapter
- IObjectAdapter
IObjectAdapter instance to use when applying
Applies to
ApplyTo(Object, Action<JsonPatchError>)
- Source:
- JsonPatchDocument.cs
- Source:
- JsonPatchDocument.cs
Apply this JsonPatchDocument
public void ApplyTo(object objectToApplyTo, Action<Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchError> logErrorAction);
member this.ApplyTo : obj * Action<Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchError> -> unit
Public Sub ApplyTo (objectToApplyTo As Object, logErrorAction As Action(Of JsonPatchError))
Parameters
- objectToApplyTo
- Object
Object to apply the JsonPatchDocument to
- logErrorAction
- Action<JsonPatchError>
Action to log errors
Applies to
ApplyTo(Object, IObjectAdapter, Action<JsonPatchError>)
- Source:
- JsonPatchDocument.cs
- Source:
- JsonPatchDocument.cs
Apply this JsonPatchDocument
public void ApplyTo(object objectToApplyTo, Microsoft.AspNetCore.JsonPatch.SystemTextJson.Adapters.IObjectAdapter adapter, Action<Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchError> logErrorAction);
member this.ApplyTo : obj * Microsoft.AspNetCore.JsonPatch.SystemTextJson.Adapters.IObjectAdapter * Action<Microsoft.AspNetCore.JsonPatch.SystemTextJson.JsonPatchError> -> unit
Public Sub ApplyTo (objectToApplyTo As Object, adapter As IObjectAdapter, logErrorAction As Action(Of JsonPatchError))
Parameters
- objectToApplyTo
- Object
Object to apply the JsonPatchDocument to
- adapter
- IObjectAdapter
IObjectAdapter instance to use when applying
- logErrorAction
- Action<JsonPatchError>
Action to log errors
Applies to
Feedback
Was this page helpful?
