Пример #1
0
        public static FWAccordionItem CreateContentItem(string title, string content, string itemId)
        {
            var item = new FWAccordionItem()
            {
                Title        = title,
                Content      = content,
                IsLazyLoaded = false,
                Id           = itemId
            };

            return(item);
        }
Пример #2
0
        public static FWAccordionItem CreateLazyItem(string title, string url, string itemId, bool cached)
        {
            var item = new FWAccordionItem()
            {
                Title        = title,
                Url          = url,
                IsLazyLoaded = true,
                Id           = itemId,
                Cached       = cached
            };

            return(item);
        }