Share via


IAdapterFactory.Create(Object, IContractResolver) Method

Definition

Creates an Microsoft.AspNetCore.JsonPatch.Internal.IAdapter for the current object

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

Parameters

target
Object

The target object

contractResolver
Newtonsoft.Json.Serialization.IContractResolver

The current contract resolver

Returns

Microsoft.AspNetCore.JsonPatch.Internal.IAdapter

The needed Microsoft.AspNetCore.JsonPatch.Internal.IAdapter

Applies to