Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
例如,如果我在视图中使用它:
${Html.TextBoxFor(u=>u.UserName)}
我怎样才能
var name = [xxx].NameFor<User>(u=>u.UserName);
从其他地方?那可能吗?
System.Web.Mvc.ExpressionHelper.GetExpressionText(LambdaExpression expression)