Example #1
0
        public static PageOuter create(long perPage, long total)
        {
            PageOuter result = new PageOuter(0, perPage, perPage, false);

            result.total = total;
            return(result);
        }
Example #2
0
 public override System.Xml.Linq.XElement formatTotalPosts(long posts)
 {
     return(PageOuter.create(this.userSettings.postsPerPage, posts).exportToXml(2, 0, 2));
 }