public ForexPriceIndicatorMap(IMapper mapper, IOptions <Settings> settings, ForexIndicatorMap indicatorMap)
 {
     _mapper              = mapper;
     _context             = new DbContext(settings);
     _forexAppServiceBase = settings.Value.ForexAppServiceBase;
     _indicatorMap        = indicatorMap;
 }
示例#2
0
 public ForexRuleMap(IMapper mapper, IOptions <Settings> settings, ForexDailyPriceMap dailyPriceMap, ForexIndicatorMap indicatorMap)
 {
     _mapper        = mapper;
     _context       = new DbContext(settings);
     _dailyPriceMap = dailyPriceMap;
     _indicatorMap  = indicatorMap;
 }