GetSamplerFakeNav() static private method

static private GetSamplerFakeNav ( ) : List
return List
Example #1
0
        public List <SiteNav> GetTwoLevelNavigation(Guid siteID, bool bActiveOnly)
        {
            List <SiteNav> lstNav  = SiteNavHelper.GetSamplerFakeNav();
            List <SiteNav> lstNav2 = new List <SiteNav>();

            foreach (SiteNav l in lstNav)
            {
                lstNav2 = lstNav2.Union(SiteNavHelper.GetSamplerFakeNav(l.Root_ContentID)).ToList();
            }

            lstNav = lstNav.Union(lstNav2).ToList();
            return(lstNav);
        }
Example #2
0
        public List <SiteNav> GetLevelDepthNavigation(Guid siteID, int iDepth, bool bActiveOnly)
        {
            List <SiteNav> lstNav  = SiteNavHelper.GetSamplerFakeNav();
            List <SiteNav> lstNav2 = new List <SiteNav>();

            foreach (SiteNav l1 in lstNav)
            {
                List <SiteNav> lst = SiteNavHelper.GetSamplerFakeNav(l1.Root_ContentID);
                lstNav2 = lstNav2.Union(lst).ToList();

                foreach (SiteNav l2 in lst)
                {
                    List <SiteNav> lst2 = SiteNavHelper.GetSamplerFakeNav(l2.Root_ContentID);
                    lstNav2 = lstNav2.Union(lst2).ToList();
                }
            }

            lstNav = lstNav.Union(lstNav2).ToList();
            return(lstNav);
        }
Example #3
0
 public List <SiteNav> GetLatestChildContentPagedList(Guid siteID, string parentPage, bool bActiveOnly, int pageSize, int pageNumber, string sortField, string sortDir)
 {
     return(SiteNavHelper.GetSamplerFakeNav(pageSize, Guid.NewGuid()));
 }
Example #4
0
 public List <SiteNav> GetLatestContentPagedList(Guid siteID, ContentPageType.PageType postType, bool bActiveOnly, int pageSize, int pageNumber, string sortField, string sortDir)
 {
     return(SiteNavHelper.GetSamplerFakeNav(pageSize));
 }
Example #5
0
 public List <SiteNav> GetLatestContentPagedList(Guid siteID, ContentPageType.PageType postType, bool bActiveOnly, int pageNumber)
 {
     return(SiteNavHelper.GetSamplerFakeNav(10));
 }
Example #6
0
 public List <SiteNav> GetLatestBlogPagedList(Guid siteID, bool bActiveOnly, int pageSize, int pageNumber)
 {
     return(SiteNavHelper.GetSamplerFakeNav(pageSize));
 }
Example #7
0
 public List <SiteNav> GetLatestBlogPagedList(Guid siteID, bool bActiveOnly, int pageNumber, string sortField, string sortDir)
 {
     return(SiteNavHelper.GetSamplerFakeNav(10));
 }
Example #8
0
 public List <SiteNav> GetFilteredContentByIDPagedList(SiteData currentSite, List <Guid> lstCategoryGUIDs, List <string> lstCategorySlugs, bool bActiveOnly, int pageSize, int pageNumber, string sortField, string sortDir)
 {
     return(SiteNavHelper.GetSamplerFakeNav(pageSize));
 }
Example #9
0
 public List <SiteNav> GetChildNavigation(Guid siteID, string sparentPageID, bool bActiveOnly)
 {
     return(SiteNavHelper.GetSamplerFakeNav(Guid.NewGuid()));
 }
Example #10
0
 public List <SiteNav> GetLatestContentSearchList(Guid siteID, string searchTerm, bool bActiveOnly, int pageSize, int pageNumber, string sortField, string sortDir)
 {
     return(SiteNavHelper.GetSamplerFakeNav(pageSize));
 }
Example #11
0
 public List <SiteNav> GetLatestPostUpdates(Guid siteID, int iUpdates, bool bActiveOnly)
 {
     return(SiteNavHelper.GetSamplerFakeNav(iUpdates));
 }
Example #12
0
 public List <SiteNav> GetTopNavigation(Guid siteID, bool bActiveOnly)
 {
     return(SiteNavHelper.GetSamplerFakeNav());
 }
Example #13
0
 public List <SiteNav> GetSiblingNavigation(Guid siteID, Guid PageID, bool bActiveOnly)
 {
     return(SiteNavHelper.GetSamplerFakeNav(PageID));
 }
Example #14
0
 public List <SiteNav> GetChildNavigation(Guid siteID, Guid?parentPageID, bool bActiveOnly)
 {
     return(SiteNavHelper.GetSamplerFakeNav(parentPageID));
 }
Example #15
0
 public List <SiteNav> GetSiblingNavigation(Guid siteID, string sPage, bool bActiveOnly)
 {
     return(SiteNavHelper.GetSamplerFakeNav(Guid.NewGuid()));
 }
Example #16
0
 public List <SiteNav> PerformDataPagingQueryableContent(Guid siteID, bool bActiveOnly, int pageSize, int pageNumber, string sortField, string sortDir, IQueryable <Data.vw_carrot_Content> QueryInput)
 {
     return(SiteNavHelper.GetSamplerFakeNav(pageSize));
 }
Example #17
0
 public List <SiteNav> GetFilteredContentPagedList(SiteData currentSite, string sFilterPath, bool bActiveOnly, int pageSize, int pageNumber, string sortField, string sortDir)
 {
     return(SiteNavHelper.GetSamplerFakeNav(pageSize));
 }
Example #18
0
 public List <SiteNav> GetPageCrumbNavigation(Guid siteID, Guid rootContentID, bool bActiveOnly)
 {
     return(SiteNavHelper.GetSamplerFakeNav(rootContentID));
 }