ViewDataDictionaryControllerPropertyActivator(IModelMetadataProvider) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of 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)
Parameters
- modelMetadataProvider
- IModelMetadataProvider
The IModelMetadataProvider to use.