JsonPatchDocument.ApplyTo Method

Definition

Overloads

ApplyTo(Object)

Apply this JsonPatchDocument

ApplyTo(Object, IObjectAdapter)

Apply this JsonPatchDocument

ApplyTo(Object, Action<JsonPatchError>)

Apply this JsonPatchDocument

ApplyTo(Object, IObjectAdapter, Action<JsonPatchError>)

Apply this JsonPatchDocument

ApplyTo(Object)

Apply this JsonPatchDocument

public:
 void ApplyTo(System::Object ^ objectToApplyTo);
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)

Apply this JsonPatchDocument

public:
 void ApplyTo(System::Object ^ objectToApplyTo, Microsoft::AspNetCore::JsonPatch::Adapters::IObjectAdapter ^ adapter);
public void ApplyTo (object objectToApplyTo, Microsoft.AspNetCore.JsonPatch.Adapters.IObjectAdapter adapter);
member this.ApplyTo : obj * Microsoft.AspNetCore.JsonPatch.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>)

Apply this JsonPatchDocument

public:
 void ApplyTo(System::Object ^ objectToApplyTo, Action<Microsoft::AspNetCore::JsonPatch::JsonPatchError ^> ^ logErrorAction);
public void ApplyTo (object objectToApplyTo, Action<Microsoft.AspNetCore.JsonPatch.JsonPatchError> logErrorAction);
member this.ApplyTo : obj * Action<Microsoft.AspNetCore.JsonPatch.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>)

Apply this JsonPatchDocument

public:
 void ApplyTo(System::Object ^ objectToApplyTo, Microsoft::AspNetCore::JsonPatch::Adapters::IObjectAdapter ^ adapter, Action<Microsoft::AspNetCore::JsonPatch::JsonPatchError ^> ^ logErrorAction);
public void ApplyTo (object objectToApplyTo, Microsoft.AspNetCore.JsonPatch.Adapters.IObjectAdapter adapter, Action<Microsoft.AspNetCore.JsonPatch.JsonPatchError> logErrorAction);
member this.ApplyTo : obj * Microsoft.AspNetCore.JsonPatch.Adapters.IObjectAdapter * Action<Microsoft.AspNetCore.JsonPatch.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