ModelExpressionProvider 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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)
参数
- modelMetadataProvider
- 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)
参数
- modelMetadataProvider
- IModelMetadataProvider
- expressionTextCache
- Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.ExpressionTextCache
Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.ExpressionTextCache