示例#1
0
 public CarbonaraController(
     ICalculationService calculationService,
     IMiningHardwareService miningHardwareService,
     IChartService chartService,
     IBitcoinWalletInformationService bitcoinWalletInformationService)
 {
     _calculationService              = calculationService;
     _miningHardwareService           = miningHardwareService;
     _chartService                    = chartService;
     _bitcoinWalletInformationService = bitcoinWalletInformationService;
 }
示例#2
0
 public CalculationService(
     IBlockParametersService blockParametersService,
     INetworkHashRateService networkHashRateService,
     IPoolHashRateService poolHashRateService,
     ICountryCo2EmissionService countryCo2EmissionService,
     IMiningHardwareService miningHardwareService,
     IHashRatePerPoolService hashRatePerPoolService)
 {
     _blockParametersService    = blockParametersService;
     _networkHashRateService    = networkHashRateService;
     _poolHashRateService       = poolHashRateService;
     _countryCo2EmissionService = countryCo2EmissionService;
     _miningHardwareService     = miningHardwareService;
     _hashRatePerPoolService    = hashRatePerPoolService;
 }