예제 #1
0
        //        return groups;
        //    }
        //}
        /// <summary>
        /// Gets all as card group.
        /// </summary>
        /// <returns>
        /// CardGroup of all non-clipped media items
        /// </returns>
        /// <remarks>
        /// Only returns the original mediaitems and not the clipped ones added to speed things up.
        /// </remarks>
        public override HLinkMediaModelCollection GetAllAsCardGroupBase()
        {
            HLinkMediaModelCollection t = new HLinkMediaModelCollection();

            foreach (IMediaModel item in DataDefaultSort.Where(x => x.IsInternalMediaFile == false))
            {
                t.Add(item.HLink);
            }

            return(t);
        }
예제 #2
0
        /// <summary>
        /// Gets all as card group.
        /// </summary>
        /// <returns>
        /// CardGroup of all non-clipped media items
        /// </returns>
        /// <remarks>
        /// Only returns the original mediaitems and not the clipped ones added to speed things up.
        /// </remarks>
        public override CardGroup GetAllAsCardGroup()
        {
            CardGroup t = new CardGroup();

            foreach (MediaModel item in DataDefaultSort.Where(x => x.IsClippedFile == false))
            {
                t.Add(item.HLink);
            }

            return(t);
        }
예제 #3
0
        public HLinkMediaModelCollection GetAllNotClippedAsHLink()
        {
            HLinkMediaModelCollection t = new HLinkMediaModelCollection();

            foreach (IMediaModel item in DataDefaultSort.Where(x => x.IsInternalMediaFile == false))
            {
                t.Add(item.HLink);
            }

            t = HLinkCollectionSort(t);

            return(t);
        }