コード例 #1
0
 private void Open(Books.IBook book)
 {
     if (book is Books.IBookFixed)
     {
         Binding?.Initialize((Books.IBookFixed)book, this.flipView);
     }
 }
コード例 #2
0
 public static async Task SaveImageAsync(Books.IBook book)
 {
     if (book is Books.IBookFixed && (book as Books.IBookFixed).PageCount > 0)
     {
         if (await GetImageFileAsync(book.ID) == null)
         {
             await(book as Books.IBookFixed).GetPage(0).SaveImageAsync(await CreateImageFileAsync(book.ID), 300);
         }
     }
 }