// 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); }
/// <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); }
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); }