Exemplo n.º 1
0
        public IDownload Build(Uri url, int bufferSize, long?offset, long?maxReadBytes)
        {
            var download = new TestDownload(url, bufferSize);

            this.ReturnedDownloads.Add(download);
            return(download);
        }
Exemplo n.º 2
0
 public IDownload Build(Uri url, int bufferSize, int? offset, int? maxReadBytes)
 {
     var download = new TestDownload(url, bufferSize);
     this.ReturnedDownloads.Add(download);
     return download;
 }