public NegativeProtectionSaga( CqrsContextNamesSettings contextNames, INegativeProtectionService negativeProtectionService, IAccountsRepository accountsRepository, ISystemClock systemClock) { _contextNames = contextNames; _negativeProtectionService = negativeProtectionService; _accountsRepository = accountsRepository; _systemClock = systemClock; }
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; }