Udostępnij za pośrednictwem


BindingSourceMetadataProvider(Type, BindingSource) Konstruktor

Definicja

Tworzy nowy BindingSourceMetadataProvider element dla danego typeelementu .

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

Element Type. Zestawy BindingSource dostawców danych Type lub dowolnych elementów możliwych do przypisania do danego Typeelementu .

bindingSource
BindingSource

Element BindingSource do przypisania do danego type.

Dotyczy