BindingSourceMetadataProvider(Type, BindingSource) Konstruktor

Definice

Vytvoří novou BindingSourceMetadataProvider pro danou 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)

Parametry

type
Type

Hodnota Type Poskytovatel nastaví BindingSource dané Type nebo cokoli, co je možné přiřadit danému Type.

bindingSource
BindingSource

Přiřazení BindingSource k danému .type

Platí pro