Udostępnij za pośrednictwem


ViewDataDictionaryControllerPropertyActivator(IModelMetadataProvider) Konstruktor

Definicja

Inicjuje nowe wystąpienie klasy ViewDataDictionaryControllerPropertyActivator.

public:
 ViewDataDictionaryControllerPropertyActivator(Microsoft::AspNetCore::Mvc::ModelBinding::IModelMetadataProvider ^ modelMetadataProvider);
public ViewDataDictionaryControllerPropertyActivator (Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider modelMetadataProvider);
new Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionaryControllerPropertyActivator : Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider -> Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionaryControllerPropertyActivator
Public Sub New (modelMetadataProvider As IModelMetadataProvider)

Parametry

modelMetadataProvider
IModelMetadataProvider

Element IModelMetadataProvider do użycia.

Dotyczy