public SongCollection Clone()
        {
            SongCollection sc = new SongCollection();

            foreach (Song song in this.innerlist)
            {
                sc.Add(song);
            }
            return(sc);
        }
Beispiel #2
0
        public SongCollection Clone()
        {
#if WINDOWS_PHONE
            if (this.songCollection != null)
            {
                throw new NotSupportedException();
            }
#endif
            SongCollection sc = new SongCollection();
            foreach (Song song in this.innerlist)
            {
                sc.Add(song);
            }
            return(sc);
        }