public Sentiment([NotNull] Configuration config, ISentimentEvaluator sentiment) { _sentiment = sentiment; _config = config.SentimentReactions; }
public Sentiment(Configuration config, ISentimentEvaluator sentiment) { _sentiment = sentiment; _config = config.SentimentReactions ?? throw new ArgumentNullException(nameof(config.SentimentReactions)); }
public Sentiment([NotNull] Configuration config, DiscordSocketClient client, ISentimentService sentiment) { _client = client; _sentiment = sentiment; _config = config.SentimentReactions; }
public SentimentResponse(Configuration config, Random random) { _config = config.SentimentReactions ?? throw new ArgumentNullException(nameof(config.SentimentReactions)); _random = random; }
public SentimentResponse([NotNull] Configuration config, [NotNull] Random random) { _config = config.SentimentReactions; _random = random; }