Example #1
0
        public Album(CloudAlbum cloud) : this()
        {
            Name = cloud.Name;
            ProviderId = cloud.ProviderId;
            CloudId = cloud.Id;
            Genre = cloud.Genre;
            ReleaseDate = cloud.ReleaseDate;

            if (cloud.PrimaryArtist != null)
            {
                PrimaryArtist = new Artist(cloud.PrimaryArtist);
            }
        }
Example #2
0
        public Album(CloudAlbum cloud) : this()
        {
            Name        = cloud.Name;
            ProviderId  = cloud.ProviderId;
            CloudId     = cloud.Id;
            Genre       = cloud.Genre;
            ReleaseDate = cloud.ReleaseDate;

            if (cloud.PrimaryArtist != null)
            {
                PrimaryArtist = new Artist(cloud.PrimaryArtist);
            }
        }