Dela via


ModelExpressionProvider Constructors

Definition

Overloads

ModelExpressionProvider(IModelMetadataProvider)

Creates a new ModelExpressionProvider.

ModelExpressionProvider(IModelMetadataProvider, ExpressionTextCache)

Creates a new ModelExpressionProvider.

ModelExpressionProvider(IModelMetadataProvider)

Source:
ModelExpressionProvider.cs

Creates a new 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)

Parameters

modelMetadataProvider
IModelMetadataProvider

The IModelMetadataProvider.

Applies to

ModelExpressionProvider(IModelMetadataProvider, ExpressionTextCache)

Source:
ModelExpressionProvider.cs
Source:
ModelExpressionProvider.cs

Creates a new 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)

Parameters

modelMetadataProvider
IModelMetadataProvider

The IModelMetadataProvider.

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

The Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.ExpressionTextCache.

Applies to