예제 #1
0
 public PriceAlertSerice(ILogger <PriceAlertSerice> logger,
                         ITargetPriceReachedService targetPriceReachedService,
                         IEndOfDayPriceService endOfDayPriceService,
                         INotificationService notificationService,
                         IQuoteService quoteService)
 {
     this.logger = logger;
     this.targetPriceReachedService = targetPriceReachedService;
     this.endOfDayPriceService      = endOfDayPriceService;
     this.notificationService       = notificationService;
     this.quoteService = quoteService;
 }
예제 #2
0
 public ValuationService(IEndOfDayPriceService endOfDayPriceService,
                         ICurrencyRateService currencyRateService,
                         IListingService listingService,
                         IValuationRepository valuationRepository,
                         IBuyTradeRepository buyTradeRepository,
                         ISellTradeRepository sellTradeRepository,
                         ILogger <ValuationService> logger
                         )
 {
     this.endOfDayPriceService = endOfDayPriceService;
     this.currencyRateService  = currencyRateService;
     this.listingService       = listingService;
     this.valuationRepository  = valuationRepository;
     this.buyTradeRepository   = buyTradeRepository;
     this.sellTradeRepository  = sellTradeRepository;
     _logger = logger;
 }