public static BlogPostsDrop FromIndex(BlogPostsDrop postsDrop, int startRowIndex) { return(new BlogPostsDrop(postsDrop.PortalLiquidContext, postsDrop.Dependencies, startRowIndex, postsDrop.PageSize, postsDrop.OrderByKey, postsDrop.SortDirection)); }
public static IEnumerable <BlogPostDrop> All(BlogPostsDrop postsDrop) { return(postsDrop.All); }
public static BlogPostsDrop OrderBy(BlogPostsDrop postsDrop, string key, string direction = "asc") { return(new BlogPostsDrop(postsDrop.PortalLiquidContext, postsDrop.Dependencies, postsDrop.StartRowIndex, postsDrop.PageSize, key, direction)); }