示例#1
0
        private IList <PlayItemEntity> ToEntities(PlaybillEntity billEntity, IPlayItemCollection playItemCollection, IMediaSource replaceAutoPadding)
        {
            List <PlayItemEntity> result = new List <PlayItemEntity>();

            for (int i = 0; i < playItemCollection.Count; i++)
            {
                result.Add(playItemCollection[i].ToEntity(billEntity, replaceAutoPadding));
                //result.Add(ToEntity(billEntity, playItemCollection[i]));
            }

            return(result);
        }
示例#2
0
 public Playlist(IPlayItemCollection playItems)
 {
     _playItems = playItems;
 }