示例#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);
            }
        }
示例#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);
            }
        }