Partager via


AdapterFactory.Create(Object, IContractResolver) Méthode

Définition

Crée un Microsoft.AspNetCore.JsonPatch.Internal.IAdapter pour l’objet actif

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

Paramètres

target
Object

Objet cible

contractResolver
Newtonsoft.Json.Serialization.IContractResolver

Le programme de résolution de contrat actuel

Retours

Microsoft.AspNetCore.JsonPatch.Internal.IAdapter

Le nécessaire Microsoft.AspNetCore.JsonPatch.Internal.IAdapter

Implémente

S’applique à