示例#1
0
 public TranscriptsController(IInstitutionRepository institutionRepository, ITranscriptProviderService transcriptProviderService, ITranscriptRepository transcriptRepository, ITranscriptService transcriptService, ILinqWrapperService linqWrapperService)
 {
     _institutionRepository     = institutionRepository;
     _transcriptProviderService = transcriptProviderService;
     _transcriptRepository      = transcriptRepository;
     _transcriptService         = transcriptService;
     _linqWrapperService        = linqWrapperService;
 }
        //ToDo: Revisit this once we have more channels
        //private List<IConversationalHubChannel> _channels;

        public ConversationalHub(
            ITranscriptRepository transcriptRepository
            , IHubRepository hubRepository
            , ISpeechService speechRepository
            , LuisRecognizer dispatch
            , List <BotIntent> botIntents
            )
        {
            //ToDo: Revisit this once we have more channels
            //_channels = new List<IConversationalHubChannel>();

            _transcriptRepo = transcriptRepository;
            _hubRepo        = hubRepository;
            _speechRepo     = speechRepository;
            _dispatch       = dispatch;
            _botIntents     = botIntents;
        }
示例#3
0
 public TranscriptController(ITranscriptRepository repository)
 {
     this.repository = repository;
 }
 public TranscriptService(ITranscriptRepository repository)
 {
     _repository = repository;
 }
 public TranscriptService()
 {
     _repository = new SqlTranscriptRepository();
 }