Esempio n. 1
0
 public FailBatchCommandsHandler(
     IChaosKitty chaosKitty,
     ICashoutsBatchRepository cashoutsBatchRepository)
 {
     _chaosKitty = chaosKitty;
     _cashoutsBatchRepository = cashoutsBatchRepository;
 }
Esempio n. 2
0
 public RevokeActiveBatchIdCommandsHandler(
     IChaosKitty chaosKitty,
     IActiveCashoutsBatchIdRepository activeCashoutsBatchIdRepository,
     ICashoutsBatchRepository cashoutsBatchRepository)
 {
     _chaosKitty = chaosKitty;
     _activeCashoutsBatchIdRepository = activeCashoutsBatchIdRepository;
     _cashoutsBatchRepository         = cashoutsBatchRepository;
 }
Esempio n. 3
0
 public WaitForBatchExpirationCommandsHandler(
     IChaosKitty chaosKitty,
     TimeSpan batchExpirationMonitoringPeriod,
     ICashoutsBatchRepository cashoutsBatchRepository)
 {
     _chaosKitty = chaosKitty;
     _batchExpirationMonitoringPeriod = batchExpirationMonitoringPeriod;
     _cashoutsBatchRepository         = cashoutsBatchRepository;
 }
Esempio n. 4
0
 public CloseBatchCommandsHandler(
     IChaosKitty chaosKitty,
     ICashoutsBatchRepository cashoutsBatchRepository,
     IClosedBatchedCashoutRepository closedBatchedCashoutRepository)
 {
     _chaosKitty = chaosKitty;
     _cashoutsBatchRepository        = cashoutsBatchRepository;
     _closedBatchedCashoutRepository = closedBatchedCashoutRepository;
 }
Esempio n. 5
0
 public AcceptCashoutCommandsHandler(
     IChaosKitty chaosKitty,
     ICashoutsBatchRepository cashoutsBatchRepository,
     IClosedBatchedCashoutRepository closedBatchedCashoutRepository,
     IActiveCashoutsBatchIdRepository activeCashoutsBatchIdRepository,
     IBlockchainConfigurationsProvider blockchainConfigurationProvider,
     IBlockchainWalletsClient walletsClient,
     CqrsSettings cqrsSettings,
     bool disableDirectCrossClientCashouts)
 {
     _chaosKitty = chaosKitty;
     _cashoutsBatchRepository         = cashoutsBatchRepository;
     _closedBatchedCashoutRepository  = closedBatchedCashoutRepository;
     _activeCashoutsBatchIdRepository = activeCashoutsBatchIdRepository;
     _blockchainConfigurationProvider = blockchainConfigurationProvider ?? throw new ArgumentNullException(nameof(blockchainConfigurationProvider));
     _walletsClient = walletsClient ?? throw new ArgumentNullException(nameof(walletsClient));
     _cqrsSettings  = cqrsSettings;
     _disableDirectCrossClientCashouts = disableDirectCrossClientCashouts;
 }