public Analyst(ILogger <Analyst> logger, IDbContextFactory <AppDbContext> contextFactory, WinnerAnalysis winnerAnalysis, WinnerPercent winnerPercent, WinnerScoring winnerScoring, WinnerSelector winnerSelector, WinnerReader winnerReader, PipeClient pipeClient) { _logger = logger; _contextFactory = contextFactory; _winnerAnalysis = winnerAnalysis; _winnerPercent = winnerPercent; _winnerScoring = winnerScoring; _winnerSelector = winnerSelector; _winnerReader = winnerReader; _pipe_client = pipeClient; }
public Choicer(ILogger <Choicer> logger, IDbContextFactory <AppDbContext> contextFactory, WinnerMember winnerMember, WinnerScoring winnerScoring, WinnerSelector winnerSelector, PrintOutLottoLion printOut, MailSenderLottoLion mailSender, NotifyPushLottoLion notifyPush ) { _logger = logger; _contextFactory = contextFactory; _winnerMember = winnerMember; _winnerScoring = winnerScoring; _winnerSelector = winnerSelector; _printOut = printOut; _mailSender = mailSender; _notifyPush = notifyPush; _choiceSeqno = new ConcurrentDictionary <string, int>(); }