public Sentiment(Configuration config, ISentimentEvaluator sentiment) { _sentiment = sentiment; _config = config.SentimentReactions ?? throw new ArgumentNullException(nameof(config.SentimentReactions)); }
public Sentiment([NotNull] Configuration config, ISentimentEvaluator sentiment) { _sentiment = sentiment; _config = config.SentimentReactions; }
public ServicePreloader(GameService games, AutoReactionTrainer reactionTrainer, IReminderSender reminders, ISentimentEvaluator sentiment, IUptime uptime, ISpacexNotificationsSender spacexReminders) { // Parameters to this services cause those other services to be eagerly initialised. }