Class PublicationChapter
- Namespace
 - Songhay.Publications.Models
 
- Assembly
 - Songhay.Publications.dll
 
Defines content for the chapter of an EPUB publication.
public class PublicationChapter
  - Inheritance
 - 
      
      PublicationChapter
 
- Inherited Members
 
Constructors
PublicationChapter(KeyValuePair<string, string>, XDocument, string, ILogger)
Initializes a new instance of the PublicationChapter class.
public PublicationChapter(KeyValuePair<string, string> chapterPair, XDocument chapterTemplate, string chapterDirectory, ILogger logger)
  Parameters
chapterPairKeyValuePair<string, string>The chapter pair.
chapterTemplateXDocumentThe chapter template.
chapterDirectorystringThe chapter directory.
loggerILoggerThe ILogger.
Methods
GenerateXhtml()
Generates the XHTML.
public string GenerateXhtml()
  Returns
GetChapterBodyElement()
Gets the chapter body element.
public XElement? GetChapterBodyElement()
  Returns
GetH1Element()
Gets the h1 element.
public XElement? GetH1Element()
  Returns
GetTitleElement()
Gets the title element.
public XElement? GetTitleElement()