Share via


AdapterFactory.Create(Object, IContractResolver) Method

Definition

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

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

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

Implements

Applies to