Example #1
0
 public Sentiment(Configuration config, ISentimentEvaluator sentiment)
 {
     _sentiment = sentiment;
     _config    = config.SentimentReactions ?? throw new ArgumentNullException(nameof(config.SentimentReactions));
 }
Example #2
0
 public Sentiment([NotNull] Configuration config, ISentimentEvaluator sentiment)
 {
     _sentiment = sentiment;
     _config    = config.SentimentReactions;
 }
Example #3
0
 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.
 }