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