Ejemplo n.º 1
0
 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;
 }
Ejemplo n.º 2
0
 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;
 }
Ejemplo n.º 3
0
 protected virtual PagerModel GetPagerModel(int totalCount, ContentCollectionPortletState state, string pageUrl)
 {
     return new PagerModel(totalCount, state, pageUrl);
 }
Ejemplo n.º 4
0
 protected virtual PagerModel GetPagerModel(int totalCount, ContentCollectionPortletState state, string pageUrl)
 {
     return(new PagerModel(totalCount, state, pageUrl));
 }