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