예제 #1
0
        public void AddTrack(MediaBundle <Track> track)
        {
            Discs       = Math.Max(Discs, track.Media.DiscNumber);
            Duration    = Duration.Add(track.Media.Duration);
            ReleaseDate = Math.Max(ReleaseDate, track.Media.ReleaseDate);

            Tracks = Tracks.AddValueToCollection(track);
            Genres = Genres.AddValuesToCollection(track.Media.Genres);
        }
예제 #2
0
 public void AddGenres(IEnumerable <Genre> genres)
 {
     Genres = Genres.AddValuesToCollection(genres);
 }