コード例 #1
0
 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;
 }