Поделиться через


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>

Для Action ведения журнала JsonPatchError.

Применяется к

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>

Для Action ведения журнала JsonPatchError.

adapterFactory
IAdapterFactory

Объект , используемый IAdapterFactory при создании адаптеров.

Применяется к