Example #1
0
        public async Task <IBook> GetBook(IRandomAccessStream stream, string filename)
        {
            var result = new BookPdf();
            await result.LoadAsync(stream, filename);

            return(result);
        }
Example #2
0
        public async Task <IBook> GetBook(IStorageFile file)
        {
            var result = new BookPdf();
            await result.LoadAsync(file);

            return(result);
        }