Dela via


ViewDataDictionaryControllerPropertyActivator(IModelMetadataProvider) Constructor

Definition

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.

Applies to