ModelExpression Class

Definition

Describes an Expression passed to a tag helper.

C#
public sealed class ModelExpression
Inheritance
ModelExpression

Constructors

ModelExpression(String, ModelExplorer)

Initializes a new instance of the ModelExpression class.

Properties

Metadata

Metadata about the Expression of interest.

Model

Gets the model object for the Expression of interest.

ModelExplorer

Gets the model explorer for the Expression of interest.

Name

String representation of the Expression of interest.

Applies to

Product Versions
ASP.NET Core 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0