ModelExpressionProvider 构造函数

定义

重载

ModelExpressionProvider(IModelMetadataProvider)

创建一个新的 ModelExpressionProvider

ModelExpressionProvider(IModelMetadataProvider, ExpressionTextCache)

创建一个新的 ModelExpressionProvider

ModelExpressionProvider(IModelMetadataProvider)

Source:
ModelExpressionProvider.cs

创建一个新的 ModelExpressionProvider

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

参数

适用于

ModelExpressionProvider(IModelMetadataProvider, ExpressionTextCache)

Source:
ModelExpressionProvider.cs
Source:
ModelExpressionProvider.cs

创建一个新的 ModelExpressionProvider

public:
 ModelExpressionProvider(Microsoft::AspNetCore::Mvc::ModelBinding::IModelMetadataProvider ^ modelMetadataProvider, Microsoft::AspNetCore::Mvc::ViewFeatures::Internal::ExpressionTextCache ^ expressionTextCache);
public ModelExpressionProvider (Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider modelMetadataProvider, Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.ExpressionTextCache expressionTextCache);
new Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExpressionProvider : Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider * Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.ExpressionTextCache -> Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExpressionProvider
Public Sub New (modelMetadataProvider As IModelMetadataProvider, expressionTextCache As ExpressionTextCache)

参数

expressionTextCache
Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.ExpressionTextCache

Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.ExpressionTextCache

适用于