private WebArtist CreateArtist(XboxArtist xboxArtist) { var artist = new WebArtist(GetType()) { Name = xboxArtist.Name, Token = xboxArtist.Id }; if (xboxArtist.ImageUrl == null) artist.IsPartial = true; else artist.Artwork = new Uri(xboxArtist.ImageUrl); return artist; }
public const string MainRole = "Main"; // What EDS shows for the primary Artist #endregion Fields #region Constructors public Contributor(string role, XboxArtist artist) { this.Role = role; this.Artist = artist; }