Exemple #1
0
 public EndTransactionHistoryMonitoringCommandHandler(
     IBlockchainIntegrationService blockchainIntegrationService,
     IMonitoringSubscriptionRepository monitoringSubscriptionRepository)
 {
     _blockchainIntegrationService     = blockchainIntegrationService;
     _monitoringSubscriptionRepository = monitoringSubscriptionRepository;
 }
 public BeginBalanceMonitoringCommandHandler(
     IBlockchainIntegrationService blockchainIntegrationService,
     IMonitoringSubscriptionRepository monitoringSubscriptionRepository)
 {
     _blockchainIntegrationService     = blockchainIntegrationService;
     _monitoringSubscriptionRepository = monitoringSubscriptionRepository;
 }
Exemple #3
0
        public BeginTransactionHistoryMonitoringCommandHandler(
            IBlockchainIntegrationService blockchainIntegrationService,
            IMonitoringSubscriptionRepository monitoringSubscriptionRepository,
            ILogFactory logFactory)
        {
            _blockchainIntegrationService     = blockchainIntegrationService ?? throw new ArgumentNullException(nameof(blockchainIntegrationService));
            _monitoringSubscriptionRepository = monitoringSubscriptionRepository ?? throw new ArgumentNullException(nameof(monitoringSubscriptionRepository));
            if (logFactory == null)
            {
                throw new ArgumentNullException(nameof(logFactory));
            }

            _log = logFactory.CreateLog(this);
        }
 public WalletUnsubscriptionSaga(
     IMonitoringSubscriptionRepository monitoringSubscriptionRepository)
 {
     _monitoringSubscriptionRepository = monitoringSubscriptionRepository;
 }