GetSamplerFakeNav() static private method

static private GetSamplerFakeNav ( ) : List
return List
Beispiel #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);
        }
Beispiel #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);
        }
Beispiel #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()));
 }
Beispiel #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));
 }
Beispiel #5
0
 public List <SiteNav> GetLatestContentPagedList(Guid siteID, ContentPageType.PageType postType, bool bActiveOnly, int pageNumber)
 {
     return(SiteNavHelper.GetSamplerFakeNav(10));
 }
Beispiel #6
0
 public List <SiteNav> GetLatestBlogPagedList(Guid siteID, bool bActiveOnly, int pageSize, int pageNumber)
 {
     return(SiteNavHelper.GetSamplerFakeNav(pageSize));
 }
Beispiel #7
0
 public List <SiteNav> GetLatestBlogPagedList(Guid siteID, bool bActiveOnly, int pageNumber, string sortField, string sortDir)
 {
     return(SiteNavHelper.GetSamplerFakeNav(10));
 }
Beispiel #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));
 }
Beispiel #9
0
 public List <SiteNav> GetChildNavigation(Guid siteID, string sparentPageID, bool bActiveOnly)
 {
     return(SiteNavHelper.GetSamplerFakeNav(Guid.NewGuid()));
 }
Beispiel #10
0
 public List <SiteNav> GetLatestContentSearchList(Guid siteID, string searchTerm, bool bActiveOnly, int pageSize, int pageNumber, string sortField, string sortDir)
 {
     return(SiteNavHelper.GetSamplerFakeNav(pageSize));
 }
Beispiel #11
0
 public List <SiteNav> GetLatestPostUpdates(Guid siteID, int iUpdates, bool bActiveOnly)
 {
     return(SiteNavHelper.GetSamplerFakeNav(iUpdates));
 }
Beispiel #12
0
 public List <SiteNav> GetTopNavigation(Guid siteID, bool bActiveOnly)
 {
     return(SiteNavHelper.GetSamplerFakeNav());
 }
Beispiel #13
0
 public List <SiteNav> GetSiblingNavigation(Guid siteID, Guid PageID, bool bActiveOnly)
 {
     return(SiteNavHelper.GetSamplerFakeNav(PageID));
 }
Beispiel #14
0
 public List <SiteNav> GetChildNavigation(Guid siteID, Guid?parentPageID, bool bActiveOnly)
 {
     return(SiteNavHelper.GetSamplerFakeNav(parentPageID));
 }
Beispiel #15
0
 public List <SiteNav> GetSiblingNavigation(Guid siteID, string sPage, bool bActiveOnly)
 {
     return(SiteNavHelper.GetSamplerFakeNav(Guid.NewGuid()));
 }
Beispiel #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));
 }
Beispiel #17
0
 public List <SiteNav> GetFilteredContentPagedList(SiteData currentSite, string sFilterPath, bool bActiveOnly, int pageSize, int pageNumber, string sortField, string sortDir)
 {
     return(SiteNavHelper.GetSamplerFakeNav(pageSize));
 }
Beispiel #18
0
 public List <SiteNav> GetPageCrumbNavigation(Guid siteID, Guid rootContentID, bool bActiveOnly)
 {
     return(SiteNavHelper.GetSamplerFakeNav(rootContentID));
 }