public static async Task <string> GetContentsAsync(this EBook ebook, SpineItem spineItem) { var manifestItem = ebook.Manifest[spineItem.IdRef]; return(await ebook.GetContentsAsync(manifestItem)); }
public static string GetContents(this EBook eBook, SpineItem item, bool embedImages = false, bool embedStyles = false) { var manifestItem = eBook.Manifest[item.IdRef]; return(GetContents(eBook, manifestItem, embedImages, embedStyles)); }