예제 #1
0
 public static XElement ToXml(this NavigationPoint navigationPoint)
 {
     Ensure.NotNull(navigationPoint, nameof(navigationPoint)); return(BookToXmlConverter.NavigationPointToXml(navigationPoint));
 }
예제 #2
0
 public static XElement ToXml(this IEnumerable <NavigationPoint> navigationPoints)
 {
     Ensure.NotNull(navigationPoints, nameof(navigationPoints)); return(BookToXmlConverter.NavigationPointsToXml(navigationPoints));
 }
예제 #3
0
 public static XElement ToXml(this File file)
 {
     Ensure.NotNull(file, nameof(file)); return(BookToXmlConverter.FileToXml(file));
 }
예제 #4
0
 public static XElement ToXml(this IEnumerable <File> files)
 {
     Ensure.NotNull(files, nameof(files)); return(BookToXmlConverter.FilesToXml(files));
 }
예제 #5
0
 public static XElement MetaToXml(this Book book)
 {
     Ensure.NotNull(book, nameof(book)); return(BookToXmlConverter.BookMetaToXml(book));
 }
예제 #6
0
 public static XDocument ToXml(this Book book)
 {
     Ensure.NotNull(book, nameof(book)); return(BookToXmlConverter.BookToXml(book));
 }