示例#1
0
 /// <summary>
 ///     FormatNewLottery and WriteNewLottoResults to
 ///     handle the information returned from the scrape.
 /// </summary>
 /// <param name="websiteScraping"></param>
 /// <param name="formatNewLotteryResult"></param>
 /// <param name="writeNewLottoResult"></param>
 public PowerballScrape(IFormatNewLotteryResult formatNewLotteryResult,
                        IWriteNewLottoResult writeNewLottoResult, IAfterLottoWritten afterLottoWritten)
 {
     _formatNewLotteryResult = formatNewLotteryResult;
     _writeNewResult         = writeNewLottoResult;
     _afterLottoWritten      = afterLottoWritten;
 }
示例#2
0
 /// <summary>
 ///     FormatNewLottery and WriteNewLottoResults to
 ///     handle the information returned from the scrape.
 /// </summary>
 /// <param name="websiteScraping"></param>
 /// <param name="formatNewLotteryResult"></param>
 /// <param name="writeNewLottoResult"></param>
 public LottoMaxScrape(IWebsiteScraping websiteScraping, IFormatNewLotteryResult formatNewLotteryResult,
                       IWriteNewLottoResult writeNewLottoResult, IAfterLottoWritten afterLottoWritten)
 {
     _websiteScraping        = websiteScraping;
     _formatNewLotteryResult = formatNewLotteryResult;
     _writeNewResult         = writeNewLottoResult;
     _afterLottoWritten      = afterLottoWritten;
 }