예제 #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);
        }