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

实现

适用于