public PagerModel(int totalCount, ContentCollectionPortletState state, string pageurl) { this._top = state.Top; this._skip = state.Skip; this.PortletState = state; this.TotalCount = totalCount - PortletState.SkipFirst; this.PortletHash = PortletState.PortletHash; }
public PagerModel(int totalCount, ContentCollectionPortletState state, string pageurl) { this._top = state.Top; this._skip = state.Skip; this.PortletState = state; this.TotalCount = totalCount - PortletState.SkipFirst; this.PortletHash = PortletState.PortletHash; }
protected virtual PagerModel GetPagerModel(int totalCount, ContentCollectionPortletState state, string pageUrl) { return new PagerModel(totalCount, state, pageUrl); }
protected virtual PagerModel GetPagerModel(int totalCount, ContentCollectionPortletState state, string pageUrl) { return(new PagerModel(totalCount, state, pageUrl)); }