Esempio n. 1
0
 public ReviewService(ReviewContext dbContext, ITextAnalysisService textAnalysisService, ILoggerFactory loggerFactory)
 {
     _logger              = loggerFactory.CreateLogger <ReviewService>();
     _dbContext           = dbContext;
     _textAnalysisService = textAnalysisService;
 }
Esempio n. 2
0
 public TextAnalysisController(ITextAnalysisService textAnalysisService)
 {
     _textAnalysisService = textAnalysisService;
 }
 public EmotionManager(ITextAnalysisService textAnalysisService, IXConnectService xConnectService, IMapper mapper)
 {
     _xConnectService = xConnectService;
     _analysisService = textAnalysisService;
     _mapper          = mapper;
 }
Esempio n. 4
0
 public Default(ITextAnalysisService textAnalysisService, IUrlAnalysisService urlAnalysisService) =>
 (_textAnalysisService, _urlAnalysisService) = (textAnalysisService, urlAnalysisService);
 public EmotionManager()
 {
     _analysisService = new TextAnalysisService();
     _xConnectService = new XConnectService();
     _mapper          = new Mapper(Mapper.Configuration);
 }