共用方式為


IAdapterFactory.Create(Object, IContractResolver) 方法

定義

Microsoft.AspNetCore.JsonPatch.Internal.IAdapter建立目前 物件的 。

public:
 Microsoft::AspNetCore::JsonPatch::Internal::IAdapter ^ Create(System::Object ^ target, Newtonsoft::Json::Serialization::IContractResolver ^ contractResolver);
public 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
Public 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

適用於