Example #1
0
 public ScheduleSettingsCacheService(
     ICqrsSender cqrsSender,
     IScheduleSettingsApi scheduleSettingsApi,
     IAssetPairsCache assetPairsCache,
     IDateService dateService,
     ILog log,
     OvernightMarginSettings overnightMarginSettings)
 {
     _cqrsSender          = cqrsSender;
     _scheduleSettingsApi = scheduleSettingsApi;
     _assetPairsCache     = assetPairsCache;
     _dateService         = dateService;
     _log = log;
     _overnightMarginSettings = overnightMarginSettings;
 }
 public AccountsController(
     IAccountManagementService accountManagementService,
     IAccuracyService accuracyService,
     IConvertService convertService,
     ISystemClock systemClock,
     ISendBalanceCommandsService sendBalanceCommandsService,
     ICqrsSender cqrsSender,
     IScheduleSettingsApi scheduleSettingsApi,
     IBrokerSettingsApi brokerSettingsApi,
     BrokerConfigurationAccessor brokerConfigurationAccessor,
     ILog logger)
 {
     _accountManagementService = accountManagementService;
     _accuracyService          = accuracyService;
     _convertService           = convertService;
     _systemClock = systemClock;
     _sendBalanceCommandsService = sendBalanceCommandsService;
     _cqrsSender                  = cqrsSender;
     _scheduleSettingsApi         = scheduleSettingsApi;
     _brokerSettingsApi           = brokerSettingsApi;
     _brokerConfigurationAccessor = brokerConfigurationAccessor;
     _logger = logger;
 }