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

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

            return(result);
        }