protected Book CreateBookWithTargetGenre(string name, int fileSize, Book.PublisherInfo publisher, List <Book.AuthorInfo> authors, FileExtensions extension) => new Book() { Name = name, FileSize = fileSize, Publisher = publisher, Authors = authors, Genre = TargetGenre, Extension = extension };
public override Book CreateDJVUBook(string name, int fileSize, Book.PublisherInfo publisher, List <Book.AuthorInfo> authors) => CreateBookWithTargetGenre(name, fileSize, publisher, authors, FileExtensions.djvu);
public abstract Book CreateDJVUBook(string name, int fileSize, Book.PublisherInfo publisher, List <Book.AuthorInfo> authors);