日期:2014-05-17 浏览次数:20514 次
public override MvcHtmlString GeneratePageLink(string linkText, int pageNumber, string cssClassName = "")
{
RouteValueDictionary routeValues = new RouteValueDictionary(base.routeValueDictionary);
routeValues.Add("page", pageNumber);
object obj2 = routeValues.get_Item("action") ?? base.viewContext.RouteData.get_Values().get_Item("action").ToString();
Dictionary<string, object> dictionary3 = new Dictionary<string, object>();
dictionary3.Add("class", cssClassName);
Dictionary<string, object> htmlAttributes = dictionary3;
return this.ajaxHelper.ActionLink(linkText, obj2.ToString(), routeValues, this.ajaxOptions, htmlAttributes);
}
这个重写方法的第三句
object obj2 = routeValues.get_Item("action") ?? base.viewContext.RouteData.get_Values().get_Item("action").ToString();怎么修改啊
这些代码是反编译出来的,所以有一些错