Esempio n. 1
0
 public PeriodicalService(ILog log,
                          IChaosKitty chaosKitty,
                          IDashInsightClient dashInsightClient,
                          IBroadcastRepository broadcastRepository,
                          IBroadcastInProgressRepository broadcastInProgressRepository,
                          IBalanceRepository balanceRepository,
                          IBalancePositiveRepository balancePositiveRepository,
                          int minConfirmations)
 {
     _log                           = log.CreateComponentScope(nameof(PeriodicalService));
     _chaosKitty                    = chaosKitty;
     _dashInsightClient             = dashInsightClient;
     _broadcastRepository           = broadcastRepository;
     _broadcastInProgressRepository = broadcastInProgressRepository;
     _balanceRepository             = balanceRepository;
     _balancePositiveRepository     = balancePositiveRepository;
     _minConfirmations              = minConfirmations;
 }
 public PeriodicalService(ILogFactory logFactory,
                          IChaosKitty chaosKitty,
                          IDashInsightClient dashInsightClient,
                          IBroadcastRepository broadcastRepository,
                          IBroadcastInProgressRepository broadcastInProgressRepository,
                          IBalanceRepository balanceRepository,
                          IBalancePositiveRepository balancePositiveRepository,
                          int minConfirmations)
 {
     _log                           = logFactory.CreateLog(this);
     _chaosKitty                    = chaosKitty;
     _dashInsightClient             = dashInsightClient;
     _broadcastRepository           = broadcastRepository;
     _broadcastInProgressRepository = broadcastInProgressRepository;
     _balanceRepository             = balanceRepository;
     _balancePositiveRepository     = balancePositiveRepository;
     _minConfirmations              = minConfirmations;
 }
        public DashService(ILogFactory logFactory,
                           IDashInsightClient dashInsightClient,
                           IBroadcastRepository broadcastRepository,
                           IBroadcastInProgressRepository broadcastInProgressRepository,
                           IBalanceRepository balanceRepository,
                           IBalancePositiveRepository balancePositiveRepository,
                           string network,
                           decimal fee,
                           int minConfirmations)
        {
            DashNetworks.Register();

            _log = logFactory.CreateLog(this);
            _dashInsightClient             = dashInsightClient;
            _broadcastRepository           = broadcastRepository;
            _broadcastInProgressRepository = broadcastInProgressRepository;
            _network          = Network.GetNetwork(network);
            _fee              = fee;
            _minConfirmations = minConfirmations;
        }