コード例 #1
0
 internal PartitionedDownloader(
     CallingServerClient client,
     ContentTransferOptions transferOptions = default)
 {
     _client           = client;
     _maxWorkerCount   = transferOptions.MaximumConcurrency;
     _rangeSize        = Math.Min(transferOptions.MaximumTransferSize, Constants.ContentDownloader.Partition.MaxDownloadBytes);
     _initialRangeSize = transferOptions.InitialTransferSize;
 }
コード例 #2
0
 internal ContentDownloader(CallingServerClient client)
 {
     _client = client;
 }