/// <summary> /// Initialize a new instance of the ComicInfo class. /// </summary> public ComicInfo() { // Set each genre. Genre = new ComicInfoSplitter(); // Set each penciller. Penciller = new ComicInfoSplitter(); // Set the volume. Volume = -1; // Set each writer. Writer = new ComicInfoSplitter(); }
/// <summary> /// Transcribe the series, chapter and pages information. /// </summary> /// <param name="series">The series.</param> /// <param name="chapter">The chapter.</param> /// <param name="pages">Each page.</param> public void Transcribe(ISeries series, IChapter chapter, IEnumerable<ComicInfoPage> pages) { Genre = new ComicInfoSplitter(series.Genres); Manga = "YesAndRightToLeft"; Number = chapter.Number; Pages = new ComicInfoPageCollection(pages); Penciller = new ComicInfoSplitter(series.Artists); Series = series.Title; Summary = series.Summary; Title = chapter.Title; Volume = chapter.Volume; Writer = new ComicInfoSplitter(series.Authors); }
/// <summary> /// Initialize a new instance of the ComicInfo class. /// </summary> public ComicInfo() { Genre = new ComicInfoSplitter(); Penciller = new ComicInfoSplitter(); Volume = -1; Writer = new ComicInfoSplitter(); }
/// <summary> /// Transcribe the series, chapter and pages information. /// </summary> /// <param name="Series">The series.</param> /// <param name="Chapter">The chapter.</param> /// <param name="Pages">Each page.</param> public void Transcribe(ISeries Series, IChapter Chapter, IEnumerable<ComicInfoPage> Pages) { // Set each genre. this.Genre = new ComicInfoSplitter(Series.Genres); // Set the manga specification. this.Manga = "YesAndRightToLeft"; // Set the number. this.Number = Chapter.Number; // Set each page. this.Pages = new ComicInfoPageCollection(Pages); // Set each penciller. this.Penciller = new ComicInfoSplitter(Series.Artists); // Set the series. this.Series = Series.Title; // Set the summary. this.Summary = Series.Summary; // Set the title. this.Title = Chapter.Title; // Set the volume. this.Volume = Chapter.Volume; // Set each writer. this.Writer = new ComicInfoSplitter(Series.Authors); }