JsonPatchDocument<TModel>.ApplyTo Method

Definition

Overloads

ApplyTo(TModel)

Apply this JsonPatchDocument

ApplyTo(TModel, IObjectAdapter)

Apply this JsonPatchDocument

ApplyTo(TModel, Action<JsonPatchError>)

Apply this JsonPatchDocument

ApplyTo(TModel, IObjectAdapter, Action<JsonPatchError>)

Apply this JsonPatchDocument

ApplyTo(TModel)

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

Apply this JsonPatchDocument

C#
public void ApplyTo (TModel objectToApplyTo);

Parameters

objectToApplyTo
TModel

Object to apply the JsonPatchDocument to

Applies to

ASP.NET Core 9.0 and other versions
Product Versions
ASP.NET Core 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0

ApplyTo(TModel, IObjectAdapter)

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

Apply this JsonPatchDocument

C#
public void ApplyTo (TModel objectToApplyTo, Microsoft.AspNetCore.JsonPatch.Adapters.IObjectAdapter adapter);

Parameters

objectToApplyTo
TModel

Object to apply the JsonPatchDocument to

adapter
IObjectAdapter

IObjectAdapter instance to use when applying

Applies to

ASP.NET Core 9.0 and other versions
Product Versions
ASP.NET Core 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0

ApplyTo(TModel, Action<JsonPatchError>)

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

Apply this JsonPatchDocument

C#
public void ApplyTo (TModel objectToApplyTo, Action<Microsoft.AspNetCore.JsonPatch.JsonPatchError> logErrorAction);

Parameters

objectToApplyTo
TModel

Object to apply the JsonPatchDocument to

logErrorAction
Action<JsonPatchError>

Action to log errors

Applies to

ASP.NET Core 9.0 and other versions
Product Versions
ASP.NET Core 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0

ApplyTo(TModel, IObjectAdapter, Action<JsonPatchError>)

Source:
JsonPatchDocumentOfT.cs
Source:
JsonPatchDocumentOfT.cs
Source:
JsonPatchDocumentOfT.cs
Source:
JsonPatchDocumentOfT.cs
Source:
JsonPatchDocumentOfT.cs
Source:
JsonPatchDocumentOfT.cs
Source:
JsonPatchDocumentOfT.cs
Source:
JsonPatchDocumentOfT.cs

Apply this JsonPatchDocument

C#
public void ApplyTo (TModel objectToApplyTo, Microsoft.AspNetCore.JsonPatch.Adapters.IObjectAdapter adapter, Action<Microsoft.AspNetCore.JsonPatch.JsonPatchError> logErrorAction);

Parameters

objectToApplyTo
TModel

Object to apply the JsonPatchDocument to

adapter
IObjectAdapter

IObjectAdapter instance to use when applying

logErrorAction
Action<JsonPatchError>

Action to log errors

Applies to

ASP.NET Core 9.0 and other versions
Product Versions
ASP.NET Core 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0