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


AdapterFactory.Create(Object, IContractResolver) Метод

Определение

Microsoft.AspNetCore.JsonPatch.Internal.IAdapter Создает для текущего объекта

public:
 virtual Microsoft::AspNetCore::JsonPatch::Internal::IAdapter ^ Create(System::Object ^ target, Newtonsoft::Json::Serialization::IContractResolver ^ contractResolver);
public virtual Microsoft.AspNetCore.JsonPatch.Internal.IAdapter Create (object target, Newtonsoft.Json.Serialization.IContractResolver contractResolver);
abstract member Create : obj * Newtonsoft.Json.Serialization.IContractResolver -> Microsoft.AspNetCore.JsonPatch.Internal.IAdapter
override this.Create : obj * Newtonsoft.Json.Serialization.IContractResolver -> Microsoft.AspNetCore.JsonPatch.Internal.IAdapter
Public Overridable Function Create (target As Object, contractResolver As IContractResolver) As IAdapter

Параметры

target
Object

Целевой объект

contractResolver
Newtonsoft.Json.Serialization.IContractResolver

Текущий сопоставитель контрактов

Возвращаемое значение

Microsoft.AspNetCore.JsonPatch.Internal.IAdapter

Необходимый элемент Microsoft.AspNetCore.JsonPatch.Internal.IAdapter

Реализации

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