ModelExpression(String, ModelExplorer) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.