Ejemplo n.º 1
0
        public static Artist From_ArtistToArtist(_Artist _Artist)
        {
            Artist TempArtist = new Artist(_Artist);

            if (_Artist._PrimaryGenres != null)
            {
                foreach (_MusicGenreList _MusicGenreList in _Artist._PrimaryGenres._MusicGenreList)
                {
                    TempArtist.MusicGenreList.Add(new MusicGenre(_MusicGenreList));
                }
            }
            if (_Artist._SecondaryGenres != null)
            {
                foreach (_MusicGenreList _MusicGenreList in _Artist._SecondaryGenres._MusicGenreList)
                {
                    TempArtist.MusicGenreList.Add(new MusicGenre(_MusicGenreList));
                }
            }
            if (_Artist._ArtistAliasList != null)
            {
                foreach (_ArtistAliasList _ArtistAliasList in _Artist._ArtistAliasList)
                {
                    TempArtist.ArtistAliasList.Add(_ArtistAliasList._ArtistAlias);
                }
            }
            if (_Artist._ArtistNameTranslationList != null)
            {
                foreach (_ArtistNameTranslationList _ArtistNameTranslationList in _Artist._ArtistNameTranslationList)
                {
                    TempArtist.ArtistNameTranslationList.Add(new ArtistNameTranslation(_ArtistNameTranslationList));
                }
            }
            return(TempArtist);
        }
Ejemplo n.º 2
0
 public Artist(_Artist _Artist)
 {
     this.ArtistVanityId            = _Artist._ArtistVanityId;
     this.ArtistCountry             = _Artist._ArtistCountry;
     this.ArtistComment             = _Artist._ArtistComment;
     this.ArtistEditUrl             = _Artist._ArtistEditUrl;
     this.ArtistMbid                = _Artist._ArtistMbid;
     this.ArtistName                = _Artist._ArtistName;
     this.Restricted                = _Artist._Restricted;
     this.UpdatedTime               = _Artist._UpdatedTime;
     this.ArtistEditUrl             = _Artist._ArtistEditUrl;
     this.ArtistShareUrl            = _Artist._ArtistShareUrl;
     this.ArtistId                  = _Artist._ArtistId;
     this.UpdatedTime               = _Artist._UpdatedTime;
     this.Managed                   = _Artist._Managed;
     this.ArtistTwitterUrl          = _Artist._ArtistTwitterUrl;
     this.ArtistRating              = _Artist._ArtistRating;
     this.MusicGenreList            = new List <MusicGenre>();
     this.ArtistAliasList           = new List <String>();
     this.ArtistNameTranslationList = new List <ArtistNameTranslation>();
 }