IAdapterFactory.Create(Object, IContractResolver) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
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