using System; using System.Collections.Generic; namespace VersOne.Epub.Schema { /// /// /// Parsed content of the EPUB 3 navigation document of the EPUB book. /// Navigation document includes human- and machine-readable content that facilitates navigation through the book. /// /// See for more information. /// public class Epub3NavDocument { /// /// Initializes a new instance of the class. /// /// The absolute path of the EPUB 3 navigation document file in the EPUB archive. /// A list of navigation sections in the EPUB 3 navigation document. /// The parameter is null. public Epub3NavDocument(string filePath, List? navs = null) { FilePath = filePath ?? throw new ArgumentNullException(nameof(filePath)); Navs = navs ?? new List(); } /// /// Gets the absolute path of the EPUB 3 navigation document file in the EPUB archive. /// public string FilePath { get; } /// /// Gets a list of navigation sections in the EPUB 3 navigation document. /// See for more information. /// public List Navs { get; } } }