public static XElement ToXml(this NavigationPoint navigationPoint) { Ensure.NotNull(navigationPoint, nameof(navigationPoint)); return(BookToXmlConverter.NavigationPointToXml(navigationPoint)); }
public static XElement ToXml(this IEnumerable <NavigationPoint> navigationPoints) { Ensure.NotNull(navigationPoints, nameof(navigationPoints)); return(BookToXmlConverter.NavigationPointsToXml(navigationPoints)); }
public static XElement ToXml(this File file) { Ensure.NotNull(file, nameof(file)); return(BookToXmlConverter.FileToXml(file)); }
public static XElement ToXml(this IEnumerable <File> files) { Ensure.NotNull(files, nameof(files)); return(BookToXmlConverter.FilesToXml(files)); }
public static XElement MetaToXml(this Book book) { Ensure.NotNull(book, nameof(book)); return(BookToXmlConverter.BookMetaToXml(book)); }
public static XDocument ToXml(this Book book) { Ensure.NotNull(book, nameof(book)); return(BookToXmlConverter.BookToXml(book)); }