AdapterFactory.Create(Object, IContractResolver) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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