Exemplo n.º 1
0
 public Sentiment([NotNull] Configuration config, ISentimentEvaluator sentiment)
 {
     _sentiment = sentiment;
     _config    = config.SentimentReactions;
 }
Exemplo n.º 2
0
 public Sentiment(Configuration config, ISentimentEvaluator sentiment)
 {
     _sentiment = sentiment;
     _config    = config.SentimentReactions ?? throw new ArgumentNullException(nameof(config.SentimentReactions));
 }
Exemplo n.º 3
0
 public Sentiment([NotNull] Configuration config, DiscordSocketClient client, ISentimentService sentiment)
 {
     _client    = client;
     _sentiment = sentiment;
     _config    = config.SentimentReactions;
 }
Exemplo n.º 4
0
 public SentimentResponse(Configuration config, Random random)
 {
     _config = config.SentimentReactions ?? throw new ArgumentNullException(nameof(config.SentimentReactions));
     _random = random;
 }
Exemplo n.º 5
0
 public SentimentResponse([NotNull] Configuration config, [NotNull] Random random)
 {
     _config = config.SentimentReactions;
     _random = random;
 }