public SpeedtestService(
     IBestServerDeterminer bestServerDeterminer,
     IDownloadSpeedTester downloadSpeedTester,
     IUploadSpeedTester uploadSpeedTester,
     SpeedtestConfiguration speedtestConfiguration)
     : base(speedtestConfiguration)
 {
     _bestServerDeterminer   = bestServerDeterminer;
     _downloadSpeedTester    = downloadSpeedTester;
     _uploadSpeedTester      = uploadSpeedTester;
     _speedtestConfiguration = speedtestConfiguration;
 }
Пример #2
0
 public BestServerDeterminer(Func <IHttpQueryExecutor> httpExecutor,
                             SpeedtestConfiguration speedtestConfiguration)
 {
     _httpExecutor           = httpExecutor;
     _speedtestConfiguration = speedtestConfiguration;
 }
 public HttpQueryExecutor(SpeedtestConfiguration speedtestConfiguration)
 {
     _cancellationToken = speedtestConfiguration.CancellationToken;
 }
Пример #4
0
 protected ThreadedActionService(SpeedtestConfiguration speedtestConfiguration)
 {
     _speedtestConfiguration = speedtestConfiguration;
 }