Partager via


IAdapterFactory.Create(Object, IContractResolver) Méthode

Définition

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

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

Paramètres

target
Object

Objet cible

contractResolver
Newtonsoft.Json.Serialization.IContractResolver

Programme de résolution de contrat actuel

Retours

Microsoft.AspNetCore.JsonPatch.Internal.IAdapter

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

S’applique à