///<include file='MvcPagerDocs.xml' path='MvcPagerDocs/AjaxPager/Constructor[@name="AjaxPager2"]/*'/> public AjaxPager(IHtmlHelper ajax, IPagedList pagedList, PagerOptions pagerOptions, MvcAjaxOptions ajaxOptions) : this(ajax, pagedList.TotalItemCount, pagedList.PageSize, pagedList.CurrentPageIndex, pagerOptions, ajaxOptions) { }
///<include file='MvcPagerDocs.xml' path='MvcPagerDocs/AjaxPager/Constructor[@name="AjaxPager1"]/*'/> public AjaxPager(IHtmlHelper html, int totalItemCount, int pageSize, int pageIndex, PagerOptions pagerOptions, MvcAjaxOptions ajaxOptions) { _htmlHelper = html; _totalItemCount = totalItemCount; _pageSize = pageSize; _currentPageIndex = pageIndex; _pagerOptions = pagerOptions; _ajaxOptions = ajaxOptions; }