Compartilhar via


ModelExpression(String, ModelExplorer) Construtor

Definição

Inicializa uma nova instância da classe ModelExpression.

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)

Parâmetros

name
String

Representação de cadeia de caracteres de Expression interesse.

modelExplorer
ModelExplorer

Inclui o modelo e os metadados sobre o Expression interesse.

Aplica-se a