Partager via


BindingSourceMetadataProvider(Type, BindingSource) Constructeur

Définition

Crée un nouveau BindingSourceMetadataProvider pour le donné type.

public:
 BindingSourceMetadataProvider(Type ^ type, Microsoft::AspNetCore::Mvc::ModelBinding::BindingSource ^ bindingSource);
public BindingSourceMetadataProvider (Type type, Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource bindingSource);
public BindingSourceMetadataProvider (Type type, Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource? bindingSource);
new Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.BindingSourceMetadataProvider : Type * Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource -> Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.BindingSourceMetadataProvider
Public Sub New (type As Type, bindingSource As BindingSource)

Paramètres

type
Type

L’Typeopérateur Les ensembles de fournisseurs BindingSource du donné Type ou tout ce qui peut être affecté au donné Type.

bindingSource
BindingSource

BindingSource à affecter au donné type.

S’applique à