Dela via


ModelExpression(String, ModelExplorer) Constructor

Definition

Initializes a new instance of the ModelExpression class.

public:
 ModelExpression(System::String ^ name, Microsoft::AspNetCore::Mvc::ViewFeatures::ModelExplorer ^ modelExplorer);
public ModelExpression (string name, Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer modelExplorer);
new Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExpression : string * Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer -> Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExpression
Public Sub New (name As String, modelExplorer As ModelExplorer)

Parameters

name
String

String representation of the Expression of interest.

modelExplorer
ModelExplorer

Includes the model and metadata about the Expression of interest.

Applies to