public async Task <IBook> GetBook(IRandomAccessStream stream, string filename) { var result = new BookPdf(); await result.LoadAsync(stream, filename); return(result); }
public async Task <IBook> GetBook(IStorageFile file) { var result = new BookPdf(); await result.LoadAsync(file); return(result); }