public LastTweetUpdater(IDateSupply dateSupply, IAnimatedTweetDateUpdater animatedTweetDateUpdater, ISitePageTweetDateUpdater sitePageTweetDateUpdater) { _DateSupply = dateSupply ?? throw new ArgumentNullException(nameof(dateSupply)); _AnimatedTweetDateUpdater = animatedTweetDateUpdater ?? throw new ArgumentNullException(nameof(animatedTweetDateUpdater)); _SitePageTweetDateUpdater = sitePageTweetDateUpdater ?? throw new ArgumentNullException(nameof(sitePageTweetDateUpdater)); }
public SpecialDaySelector(IDateSupply dateSupply, IRandomSelector randomSelector) { _DateSupply = dateSupply ?? throw new ArgumentNullException(nameof(dateSupply)); _RandomSelector = randomSelector ?? throw new ArgumentNullException(nameof(randomSelector)); }