Ejemplo n.º 1
0
        public override List <ListItem> InitItems(List <Guid> guidContext, DateTime dateContext, bool bypassCaches, Hashtable compileState)
        {
            List <ListItem> items;
            SlideShow       slideShow = this.GetSlideShow();

            if (slideShow != null)
            {
                items = slideShow.GetCompiledItems(guidContext, dateContext, bypassCaches, compileState);

                slideShow.SaveChannelsToDb();
                slideShow.SaveToDb();
            }
            else
            {
                items = new List <ListItem>();
            }

            return(items);
        }