共用方式為


ObjectAdapter 建構函式

定義

多載

ObjectAdapter(IContractResolver, Action<JsonPatchError>)

初始化 ObjectAdapter 的新執行個體。

ObjectAdapter(IContractResolver, Action<JsonPatchError>, IAdapterFactory)

初始化 ObjectAdapter 的新執行個體。

ObjectAdapter(IContractResolver, Action<JsonPatchError>)

來源:
ObjectAdapter.cs
來源:
ObjectAdapter.cs
來源:
ObjectAdapter.cs
來源:
ObjectAdapter.cs
來源:
ObjectAdapter.cs
來源:
ObjectAdapter.cs
來源:
ObjectAdapter.cs
來源:
ObjectAdapter.cs
來源:
ObjectAdapter.cs

初始化 ObjectAdapter 的新執行個體。

public:
 ObjectAdapter(Newtonsoft::Json::Serialization::IContractResolver ^ contractResolver, Action<Microsoft::AspNetCore::JsonPatch::JsonPatchError ^> ^ logErrorAction);
public ObjectAdapter (Newtonsoft.Json.Serialization.IContractResolver contractResolver, Action<Microsoft.AspNetCore.JsonPatch.JsonPatchError> logErrorAction);
new Microsoft.AspNetCore.JsonPatch.Adapters.ObjectAdapter : Newtonsoft.Json.Serialization.IContractResolver * Action<Microsoft.AspNetCore.JsonPatch.JsonPatchError> -> Microsoft.AspNetCore.JsonPatch.Adapters.ObjectAdapter
Public Sub New (contractResolver As IContractResolver, logErrorAction As Action(Of JsonPatchError))

參數

contractResolver
Newtonsoft.Json.Serialization.IContractResolver

Newtonsoft.Json.Serialization.IContractResolver

logErrorAction
Action<JsonPatchError>

用於記錄 JsonPatchErrorAction

適用於

ObjectAdapter(IContractResolver, Action<JsonPatchError>, IAdapterFactory)

來源:
ObjectAdapter.cs
來源:
ObjectAdapter.cs
來源:
ObjectAdapter.cs
來源:
ObjectAdapter.cs
來源:
ObjectAdapter.cs
來源:
ObjectAdapter.cs
來源:
ObjectAdapter.cs
來源:
ObjectAdapter.cs

初始化 ObjectAdapter 的新執行個體。

public:
 ObjectAdapter(Newtonsoft::Json::Serialization::IContractResolver ^ contractResolver, Action<Microsoft::AspNetCore::JsonPatch::JsonPatchError ^> ^ logErrorAction, Microsoft::AspNetCore::JsonPatch::Adapters::IAdapterFactory ^ adapterFactory);
public ObjectAdapter (Newtonsoft.Json.Serialization.IContractResolver contractResolver, Action<Microsoft.AspNetCore.JsonPatch.JsonPatchError> logErrorAction, Microsoft.AspNetCore.JsonPatch.Adapters.IAdapterFactory adapterFactory);
new Microsoft.AspNetCore.JsonPatch.Adapters.ObjectAdapter : Newtonsoft.Json.Serialization.IContractResolver * Action<Microsoft.AspNetCore.JsonPatch.JsonPatchError> * Microsoft.AspNetCore.JsonPatch.Adapters.IAdapterFactory -> Microsoft.AspNetCore.JsonPatch.Adapters.ObjectAdapter
Public Sub New (contractResolver As IContractResolver, logErrorAction As Action(Of JsonPatchError), adapterFactory As IAdapterFactory)

參數

contractResolver
Newtonsoft.Json.Serialization.IContractResolver

Newtonsoft.Json.Serialization.IContractResolver

logErrorAction
Action<JsonPatchError>

用於記錄 JsonPatchErrorAction

adapterFactory
IAdapterFactory

建立 IAdapterFactory 配接器時要使用的 。

適用於