示例#1
0
 public NegativeProtectionSaga(
     CqrsContextNamesSettings contextNames,
     INegativeProtectionService negativeProtectionService,
     IAccountsRepository accountsRepository,
     ISystemClock systemClock)
 {
     _contextNames = contextNames;
     _negativeProtectionService = negativeProtectionService;
     _accountsRepository        = accountsRepository;
     _systemClock = systemClock;
 }
示例#2
0
 public UpdateBalanceCommandsHandler(IOperationExecutionInfoRepository executionInfoRepository,
     INegativeProtectionService negativeProtectionService,
     IAccountsRepository accountsRepository,
     IChaosKitty chaosKitty, 
     ISystemClock systemClock,
     IConvertService convertService,
     ILog log)
 {
     _negativeProtectionService = negativeProtectionService;
     _accountsRepository = accountsRepository;
     _chaosKitty = chaosKitty;
     _systemClock = systemClock;
     _convertService = convertService;
     _log = log;
     _executionInfoRepository = executionInfoRepository;
 }