ExpressionHelper Class
Provides a helper class to get the model name from an expression.
Namespace: Microsoft.Web.Mvc.Internal
Assembly: Microsoft.Web.Mvc (in Microsoft.Web.Mvc.dll)
Inheritance Hierarchy
System.Object
Microsoft.Web.Mvc.Internal.ExpressionHelper
Syntax
public static class ExpressionHelper
public ref class ExpressionHelper abstract sealed
[<AbstractClass>]
[<Sealed>]
type ExpressionHelper = class end
Public NotInheritable Class ExpressionHelper
Methods
Name | Description | |
---|---|---|
![]() ![]() |
GetInputName<TModel, TProperty>(Expression<Func<TModel, TProperty>>) | Gets the input name from the expression. |
![]() ![]() |
GetRouteValuesFromExpression<TController>(Expression<Action<TController>>) | Gets the route values from the expression. |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.Web.Mvc.Internal Namespace
Return to top