コード例 #1
0
 public SpeedTestNetClient(ISpeedtestHttpClient speedtestHttpClient,
                           ISpeedTestClient speedTestClient,
                           IOptions <Runner> runnerOptions,
                           ILogger <SpeedTestNetClient> logger)
 {
     _runnerOptions       = runnerOptions.Value;
     _speedtestHttpClient = speedtestHttpClient;
     _speedTestClient     = speedTestClient;
     _logger = logger;
 }
コード例 #2
0
 public SpeedTestNodeClient(ISpeedtestHttpClient speedtestHttpClient,
                            INodeServices nodeServices,
                            IOptions <Runner> runnerOptions,
                            ILogger <SpeedTestNodeClient> logger)
 {
     _logger              = logger;
     _runnerOptions       = runnerOptions.Value;
     _speedtestHttpClient = speedtestHttpClient;
     _nodeServices        = nodeServices;
 }