Exemplo n.º 1
0
 public ResponseService()
 {
     conversationMatchService  = new ConversationMatchService(new ConversationMatcher.Services.BestMatchService());
     userPropertyMatchService  = new UserPropertyMatchService(new UserService.UserPropertyRetrievalService(), new UserService.BotPropertyRetrievalService());
     lyricsService             = new LyricsMatchService();
     googleService             = new GoogleMatchService.GoogleMatchService();
     urbanDictionaryService    = new UrbanDictionaryMatchService();
     salutationService         = new SalutationService();
     responseConversionService = new ResponseConversionService(new UserService.UserPropertyService(), new UserService.PropertyValueService());
 }
Exemplo n.º 2
0
 public ResponseService(ConversationMatchService conversationMatchService, UserPropertyMatchService userPropertyMatchService, LyricsMatchService lyricsService, GoogleMatchService.GoogleMatchService googleService, UrbanDictionaryMatchService urbanDictionaryService, SalutationService salutationService, ResponseConversionService responseConversionService)
 {
     _conversationMatchService  = conversationMatchService;
     _userPropertyMatchService  = userPropertyMatchService;
     _lyricsService             = lyricsService;
     _googleService             = googleService;
     _urbanDictionaryService    = urbanDictionaryService;
     _salutationService         = salutationService;
     _responseConversionService = responseConversionService;
 }