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