共用方式為


ModelExpressionProvider 建構函式

定義

多載

ModelExpressionProvider(IModelMetadataProvider)

建立新的 ModelExpressionProvider

ModelExpressionProvider(IModelMetadataProvider, ExpressionTextCache)

建立新的 ModelExpressionProvider

ModelExpressionProvider(IModelMetadataProvider)

來源:
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)

來源:
ModelExpressionProvider.cs
來源:
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

適用於