Ejemplo n.º 1
0
 public virtual bool ContainsSongsItem(Pdbc.Music.Domain.Model.Song item)
 {
     if (Songs != null)
     {
         return(this.Songs.Contains(item));
     }
     return(false);
 }
Ejemplo n.º 2
0
        public FileInformationBuilder WithSong(Action <Pdbc.Music.Domain.Model.SongBuilder> songBuilder)
        {
            var b = new Pdbc.Music.Domain.Model.SongBuilder();

            songBuilder.Invoke(b);
            this.Song = b.Build();
            return(this);
        }
Ejemplo n.º 3
0
        public virtual PlaylistBuilder RemoveSongsItem(Pdbc.Music.Domain.Model.Song item)
        {
            if (Songs == null)
            {
                Songs = new System.Collections.Generic.List <Pdbc.Music.Domain.Model.Song>();
            }

            this.Songs.Remove(item);
            return(this);
        }
Ejemplo n.º 4
0
        public virtual GenreBuilder AddSongsItem(Pdbc.Music.Domain.Model.Song item)
        {
            if (Songs == null)
            {
                Songs = new System.Collections.Generic.List <Pdbc.Music.Domain.Model.Song>();
            }

            this.Songs.Add(item);
            return(this);
        }
Ejemplo n.º 5
0
 public FileInformationBuilder WithSong(Pdbc.Music.Domain.Model.Song song)
 {
     this.Song = song;
     return(this);
 }