Пример #1
0
 public DownloadForeignExchange(ILogger logger,
                                ITaskActions taskAction,
                                ICbrDownloader cbrDownloader,
                                IXmlSaver xmlSaver) : base(logger, taskAction)
 {
     _cbrDownloader = cbrDownloader;
     _xmlSaver      = xmlSaver;
 }
Пример #2
0
 private DataStorage()
 {
     connection = new ConnectToMsSql();
     taskActions = new TaskActions(connection);
     userActions = new UserActions(connection);
     riskActions = new RiskActions(connection);
     sprintActions = new SprintActions(connection);
 }
Пример #3
0
 public DownloadRuonia(ILogger logger,
                       ITaskActions taskAction,
                       ICbrDownloader cbrDownloader,
                       IXmlSaver xmlSaver) : base(logger, taskAction)
 {
     _cbrDownloader = cbrDownloader;
     _xmlSaver      = xmlSaver;
 }
Пример #4
0
 public DownloadMoexInstruments(ILogger logger,
                                ITaskActions taskAction,
                                IMoexDownloader moexProvider,
                                IXmlSaver xmlSaver,
                                ICsvSaver csvSaver) : base(logger, taskAction)
 {
     _moexProvider = moexProvider;
     _xmlSaver     = xmlSaver;
     _csvSaver     = csvSaver;
 }
Пример #5
0
 public AlgorithmServiceProvider(ITaskActions taskActions,
                                 IServiceActions serviceActions,
                                 ILogger logger,
                                 ICalculationFactory calculationFactory)
 {
     _taskActions        = taskActions;
     _serviceActions     = serviceActions;
     _logger             = logger;
     _calculationFactory = calculationFactory;
 }
Пример #6
0
 public SaveForeignExchange(ILogger logger,
                            ITaskActions taskActions,
                            IConverterFactory converterFactory,
                            ISaverMurrData saver,
                            ICbrDownloader cbrDownloader)
     : base(logger, taskActions)
 {
     _converterFactory = converterFactory;
     _saver            = saver;
     _cbrDownloader    = cbrDownloader;
 }
Пример #7
0
 public CalculationFactory(ILogger logger,
                           ITaskActions taskAction,
                           ICbrDownloader cbrDownloader,
                           IMoexDownloader moexDownloader,
                           IXmlSaver xmlSaver,
                           ICsvSaver csvSaver,
                           IConverterFactory converterFactory,
                           ISaverMurrData saverMurrData)
 {
     _logger         = logger;
     _taskAction     = taskAction;
     _cbrDownloader  = cbrDownloader;
     _moexDownloader = moexDownloader;
     _xmlSave        = xmlSaver;
     _csvSaver       = csvSaver;
     _convertFactory = converterFactory;
     _saverMurrData  = saverMurrData;
 }