Construct() private méthode

private Construct ( DownloadOperation op = null ) : Task
op Windows.Networking.BackgroundTransfer.DownloadOperation
Résultat Task
 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;
 }
 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;
 }
        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);
        }
        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);
        }