Пример #1
0
        public override List <ListItem> InitItems(List <Guid> guidContext, DateTime dateContext, bool bypassCaches, Hashtable compileState)
        {
            List <ListItem> listItems = new List <ListItem>();

            string url = this.imageUrl;

            if (this.addTimeIndex)
            {
                url = MiscUtil.AppendQueryStringParameter(url, MiscUtil.TimeIndex());
            }

            UrlChannelItem urlChannelItem = new UrlChannelItem(dateContext, url, -1, -1);

            urlChannelItem.Channel = this;

            listItems.Add(urlChannelItem);

            return(listItems);
        }