public static async Task DownloadDocumentsAsync(PdfDocEntity pdfDocEntity)
        {
            var stream = await RestApiHelper.DownloadFileAsync(pdfDocEntity.Url);

            if (stream == null)
            {
                return;
            }
            await SaveFileAsync(pdfDocEntity.FileName, stream);
        }
Exemple #2
0
 public PdfDocumentView(PdfDocEntity pdfDocEntity)
 {
     InitializeComponent();
     Title         = pdfDocEntity.FileName;
     _pdfDocEntity = pdfDocEntity;
 }