Exemplo n.º 1
0
        public void Deserialize(IDeezerClient aClient)
        {
            Client = aClient;

            if (ArtistInternal != null)
            {
                ArtistInternal.Deserialize(aClient);
            }

            if (AlbumInternal != null)
            {
                AlbumInternal.Deserialize(aClient);
            }
        }
Exemplo n.º 2
0
        public void Deserialize(IDeezerClient aClient)
        {
            Client = aClient;

            ArtistInternal?.Deserialize(aClient);

            if (GenreInternal != null)
            {
                foreach (var genre in GenreInternal.Items)
                {
                    genre.Deserialize(aClient);
                }
            }

            if (this.ContributorsInternal != null)
            {
                foreach (var artist in ContributorsInternal)
                {
                    artist.Deserialize(aClient);
                }
            }
        }