public Edition() { Overview = string.Empty; Images = new List <MediaCover.MediaCover>(); Links = new List <Links>(); Ratings = new Ratings(); }
public Book() { Links = new List <Links>(); Genres = new List <string>(); Ratings = new Ratings(); Author = new Author(); AddOptions = new AddBookOptions(); }
public AuthorMetadata() { Images = new List <MediaCover.MediaCover>(); Genres = new List <string>(); Links = new List <Links>(); Aliases = new List <string>(); Ratings = new Ratings(); }
public override void UseMetadataFrom(AuthorMetadata other) { ForeignAuthorId = other.ForeignAuthorId; TitleSlug = other.TitleSlug; Name = other.Name; Aliases = other.Aliases; Overview = other.Overview.IsNullOrWhiteSpace() ? Overview : other.Overview; Disambiguation = other.Disambiguation; Gender = other.Gender; Hometown = other.Hometown; Born = other.Born; Died = other.Died; Status = other.Status; Images = other.Images.Any() ? other.Images : Images; Links = other.Links; Genres = other.Genres; Ratings = other.Ratings.Votes > 0 ? other.Ratings : Ratings; }