ModelBinderFactory.CreateBinder(ModelBinderFactoryContext) 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 IModelBinder.
public:
virtual Microsoft::AspNetCore::Mvc::ModelBinding::IModelBinder ^ CreateBinder(Microsoft::AspNetCore::Mvc::ModelBinding::ModelBinderFactoryContext ^ context);
public Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder CreateBinder (Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderFactoryContext context);
abstract member CreateBinder : Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderFactoryContext -> Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder
override this.CreateBinder : Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderFactoryContext -> Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder
Public Function CreateBinder (context As ModelBinderFactoryContext) As IModelBinder
Paramètres
- context
- ModelBinderFactoryContext
L’ModelBinderFactoryContextopérateur
Retours
Instance de IModelBinder.
Implémente
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour