public QuestionController(IQuestionService questionService, IQuestionTransformer questionTransformer, IAnswersForNodeBuilder answersForNodeBuilder, ICacheManager<string, string> cacheManager) { _questionService = questionService; _questionTransformer = questionTransformer; _answersForNodeBuilder = answersForNodeBuilder; _cacheManager = cacheManager; }
public QuestionController(IQuestionService questionService, IQuestionTransformer questionTransformer, IAnswersForNodeBuilder answersForNodeBuilder, ICacheManager <string, string> cacheManager) { _questionService = questionService; _questionTransformer = questionTransformer; _answersForNodeBuilder = answersForNodeBuilder; _cacheManager = cacheManager; }
public QuestionService(IConfiguration configuration, ILoggingRestClient restClientDomainApi, IAnswersForNodeBuilder answersForNodeBuilder, IModZeroJourneyStepsBuilder modZeroJourneyStepsBuilder, IKeywordCollector keywordcollector, ICareAdviceService careAdviceService, ICareAdviceTransformer careAdviceTransformer, ICacheStore cacheStore) { _configuration = configuration; _restClient = restClientDomainApi; _answersForNodeBuilder = answersForNodeBuilder; _modZeroJourneyStepsBuilder = modZeroJourneyStepsBuilder; _keywordCollector = keywordcollector; _careAdviceService = careAdviceService; _careAdviceTransformer = careAdviceTransformer; _cacheStore = cacheStore; }
public QuestionController(IQuestionService questionService, IQuestionTransformer questionTransformer, IAnswersForNodeBuilder answersForNodeBuilder) { _questionService = questionService; _questionTransformer = questionTransformer; _answersForNodeBuilder = answersForNodeBuilder; var section = ConfigurationManager.GetSection(SectionName) as System.Collections.Hashtable; if (section == null) { throw new InvalidOperationException(string.Format("Missing section name {0}", SectionName)); } _systemVariables = section .Cast <System.Collections.DictionaryEntry>() .ToDictionary(n => n.Key.ToString(), n => n.Value.ToString()); }