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