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