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); }
public Playlist(IPlayItemCollection playItems) { _playItems = playItems; }