JsonPatchDocument<TModel>.ApplyTo 方法

定义

重载

ApplyTo(TModel)

应用此 JsonPatchDocument

ApplyTo(TModel, IObjectAdapter)

应用此 JsonPatchDocument

ApplyTo(TModel, Action<JsonPatchError>)

应用此 JsonPatchDocument

ApplyTo(TModel, IObjectAdapter, Action<JsonPatchError>)

应用此 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

应用此 JsonPatchDocument

public:
 void ApplyTo(TModel objectToApplyTo);
public void ApplyTo (TModel objectToApplyTo);
member this.ApplyTo : 'Model -> unit
Public Sub ApplyTo (objectToApplyTo As TModel)

参数

objectToApplyTo
TModel

要将 JsonPatchDocument 应用到的对象

适用于

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

应用此 JsonPatchDocument

public:
 void ApplyTo(TModel objectToApplyTo, Microsoft::AspNetCore::JsonPatch::Adapters::IObjectAdapter ^ adapter);
public void ApplyTo (TModel objectToApplyTo, Microsoft.AspNetCore.JsonPatch.Adapters.IObjectAdapter adapter);
member this.ApplyTo : 'Model * Microsoft.AspNetCore.JsonPatch.Adapters.IObjectAdapter -> unit
Public Sub ApplyTo (objectToApplyTo As TModel, adapter As IObjectAdapter)

参数

objectToApplyTo
TModel

要将 JsonPatchDocument 应用到的对象

adapter
IObjectAdapter

应用时要使用的 IObjectAdapter 实例

适用于

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

应用此 JsonPatchDocument

public:
 void ApplyTo(TModel objectToApplyTo, Action<Microsoft::AspNetCore::JsonPatch::JsonPatchError ^> ^ logErrorAction);
public void ApplyTo (TModel objectToApplyTo, Action<Microsoft.AspNetCore.JsonPatch.JsonPatchError> logErrorAction);
member this.ApplyTo : 'Model * Action<Microsoft.AspNetCore.JsonPatch.JsonPatchError> -> unit
Public Sub ApplyTo (objectToApplyTo As TModel, logErrorAction As Action(Of JsonPatchError))

参数

objectToApplyTo
TModel

要将 JsonPatchDocument 应用到的对象

logErrorAction
Action<JsonPatchError>

记录错误的操作

适用于

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

应用此 JsonPatchDocument

public:
 void ApplyTo(TModel objectToApplyTo, Microsoft::AspNetCore::JsonPatch::Adapters::IObjectAdapter ^ adapter, Action<Microsoft::AspNetCore::JsonPatch::JsonPatchError ^> ^ logErrorAction);
public void ApplyTo (TModel objectToApplyTo, Microsoft.AspNetCore.JsonPatch.Adapters.IObjectAdapter adapter, Action<Microsoft.AspNetCore.JsonPatch.JsonPatchError> logErrorAction);
member this.ApplyTo : 'Model * Microsoft.AspNetCore.JsonPatch.Adapters.IObjectAdapter * Action<Microsoft.AspNetCore.JsonPatch.JsonPatchError> -> unit
Public Sub ApplyTo (objectToApplyTo As TModel, adapter As IObjectAdapter, logErrorAction As Action(Of JsonPatchError))

参数

objectToApplyTo
TModel

要将 JsonPatchDocument 应用到的对象

adapter
IObjectAdapter

应用时要使用的 IObjectAdapter 实例

logErrorAction
Action<JsonPatchError>

记录错误的操作

适用于