public SrvConditionsManager(ICommandConditionsRepository commandConditionsRepository, ISrvBlockchainReader srvBlockchainReader,
                             IBitCoinTransactionsRepository bitCoinTransactionsRepository, SrvConditionsManagerSettings srvConditionsManagerSettings,
                             ISrvBlockchainHelper srvBlockchainHelper)
 {
     _commandConditionsRepository   = commandConditionsRepository;
     _srvBlockchainReader           = srvBlockchainReader;
     _bitCoinTransactionsRepository = bitCoinTransactionsRepository;
     _srvConditionsManagerSettings  = srvConditionsManagerSettings;
     _srvBlockchainHelper           = srvBlockchainHelper;
 }
示例#2
0
 public SrvCommandsRunner(IBlockchainCommandsRepository blockchainCommandsRepository,
                          ICommandConditionsRepository commandConditionsRepository, SrvConditionsManager srvConditionsChecker,
                          ICommandSender commandSender, IPendingCommandsRepository pendingCommandsRepository)
 {
     _blockchainCommandsRepository = blockchainCommandsRepository;
     _commandConditionsRepository  = commandConditionsRepository;
     _srvConditionsChecker         = srvConditionsChecker;
     _commandSender             = commandSender;
     _pendingCommandsRepository = pendingCommandsRepository;
 }