Inheritance: BindableBase, IDownloadItem
Ejemplo n.º 1
0
 public static async Task<DownloadItem> Create(DownloadOperation op)
 {
     DownloadItem item = new DownloadItem();
     item.Downloader = new BackgroundDownloader();
     item.Url = op.RequestedUri.OriginalString;
     await item.Construct(op);
     return item;
 }
Ejemplo n.º 2
0
 public static async Task<DownloadItem> Create(BackgroundDownloader b, string url)
 {
     DownloadItem item = new DownloadItem();
     item.Downloader = b;
     item.Url = url;
     await item.Construct();   
     return item;
 }