예제 #1
0
 protected SentimentAnalyzerBase(ILogger logger,
                                 IAzureSentimentAnalyzer azureSentimentAnalyzer,
                                 IRedditSearch redditSearch)
 {
     _logger            = logger ?? throw new ArgumentNullException(nameof(logger));
     _sentimentAnalyzer = azureSentimentAnalyzer ?? throw new ArgumentNullException(nameof(azureSentimentAnalyzer));
     _redditSearch      = redditSearch ?? throw new ArgumentNullException(nameof(azureSentimentAnalyzer));
 }
 public FakeAzureSentimentAnalyzer(ILogger logger,
                                   IAzureSentimentAnalyzer azureSentimentAnalyzer,
                                   IRedditSearch redditSearch) : base(logger, azureSentimentAnalyzer, redditSearch)
 {
 }