【发布时间】:2011-12-07 21:49:04
【问题描述】:
我创建了一个 htmlhelper,其签名如下:
public static MvcHtmlString PageLinks(this HtmlHelper html,
PagingInfo pagingInfo,Func<int, string> pageUrl)
我看到它是这样传递的:
@Html.PageLinks(Model.PagingInfo, x => Url.Action("List", new {page = x}))
但我不知道这是什么意思?
x => Url.Action("List", new {page = x})
请提出这个 lambda 表达式的含义
【问题讨论】:
标签: c# asp.net-mvc-3 c#-4.0