public AudioFileCollection Copy() { AudioFileCollection newFileCollection = new AudioFileCollection(); AudioFiles.ForEach(audioFile => { newFileCollection.Add(audioFile.Copy()); }); return(newFileCollection); }
/// <summary> /// Instantiates an artist with the given parent collection and name /// </summary> /// <param name="parent"></param> /// <param name="artist"></param> public Artist(AudioFileCollection parent, string artist) { Parent = parent; Name = artist; }