ObjectAdapter 构造函数

定义

重载

ObjectAdapter(IContractResolver, Action<JsonPatchError>)

初始化 ObjectAdapter 的新实例。

ObjectAdapter(IContractResolver, Action<JsonPatchError>, IAdapterFactory)

初始化 ObjectAdapter 的新实例。

ObjectAdapter(IContractResolver, Action<JsonPatchError>)

Source:
ObjectAdapter.cs
Source:
ObjectAdapter.cs
Source:
ObjectAdapter.cs
Source:
ObjectAdapter.cs
Source:
ObjectAdapter.cs
Source:
ObjectAdapter.cs
Source:
ObjectAdapter.cs
Source:
ObjectAdapter.cs
Source:
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>

Action用于记录 JsonPatchError的 。

适用于

ObjectAdapter(IContractResolver, Action<JsonPatchError>, IAdapterFactory)

Source:
ObjectAdapter.cs
Source:
ObjectAdapter.cs
Source:
ObjectAdapter.cs
Source:
ObjectAdapter.cs
Source:
ObjectAdapter.cs
Source:
ObjectAdapter.cs
Source:
ObjectAdapter.cs
Source:
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>

Action用于记录 JsonPatchError的 。

adapterFactory
IAdapterFactory

创建 IAdapterFactory 适配器时要使用的 。

适用于