Sdílet prostřednictvím


BindingSourceMetadataProvider(Type, BindingSource) Konstruktor

Definice

Vytvoří nový BindingSourceMetadataProvider pro danou typepoložku .

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)

Parametry

type
Type

Hodnota Type Zprostředkovatel nastaví BindingSource danou Type nebo cokoli přiřaditelného k danému Typeobjektu .

bindingSource
BindingSource

Přiřadí BindingSource se k danému type.

Platí pro