Esempio n. 1
0
        public static List <SongDto> GetFollowingSongs(this ISongList songList, int count)
        {
            var list = new List <SongDto>
            {
                songList.CurrentSong
            };

            for (int i = 0; i < count - 1; i++)
            {
                list.Add(songList.MoveNext().CurrentSong);
            }

            return(list);
        }