Beispiel #1
0
        public TranscriptionService(ITransactionService transactionService,
                                    IMapper mapper,
                                    IUsersRepository usersRepository,
                                    IImportRepository importsRepository,
                                    IWorkingPeriodsService workingPeriodsService,
                                    ITranscriptionRepository transcriptionRepository,
                                    ILabelingModuleConfiguration labelingModuleConfiguration,
                                    IAudioReopenSubscriptionService audioReopenSubscriptionService,
                                    IDeepSpeechControlProxy deepSpeechControlProxy,
                                    IAssignedLabelGroupsRepository assignedLabelGroupsRepository,
                                    ILabelingAudioService labelingAudioService,
                                    ILabelService labelService,
                                    ITranscriptionLabelsRepository transcriptionLabelsRepository,
                                    ITranscriptionMetricsRepository transcriptionMetricsRepository,
                                    ITranscriptionSelectedLabelRepository transcriptionSelectedLabelRepository)
        {
            this.mapper                               = mapper;
            this.transactionService                   = transactionService;
            this.usersRepository                      = usersRepository;
            this.workingPeriodsService                = workingPeriodsService;
            this.importsRepository                    = importsRepository;
            this.deepSpeechControlProxy               = deepSpeechControlProxy;
            this.labelingModuleConfiguration          = labelingModuleConfiguration;
            this.audioReopenSubscriptionService       = audioReopenSubscriptionService;
            this.transcriptionRepository              = transcriptionRepository;
            this.assignedLabelGroupsRepository        = assignedLabelGroupsRepository;
            this.labelingAudioService                 = labelingAudioService;
            this.labelService                         = labelService;
            this.transcriptionLabelsRepository        = transcriptionLabelsRepository;
            this.transcriptionMetricsRepository       = transcriptionMetricsRepository;
            this.transcriptionSelectedLabelRepository = transcriptionSelectedLabelRepository;

            randomizer = new Random();
        }
 public FCMomentsController(IFCMomentsService fcMomentsService,
                            UserManager <CompanyIdentityUser> userManager,
                            IFCMomentsRepository fcMomentsRepository,
                            ILabelingAudioService labelingAudioService)
 {
     this.userManager          = userManager;
     this.fcMomentsService     = fcMomentsService;
     this.labelingAudioService = labelingAudioService;
     this.fcMomentsRepository  = fcMomentsRepository;
 }
 public FCMomentsService(IMapper mapper,
                         ITransactionService transactionService,
                         IUsersRepository usersRepository,
                         ILabelingModuleConfiguration labelingModuleConfiguration,
                         IWorkingPeriodsService workingPeriodsService,
                         IFCMomentsRepository fcMomentsRepository,
                         IAudioReopenSubscriptionService audioReopenSubscriptionService,
                         ILabelingAudioService labelingAudioService,
                         IFCMomentAMLogRepository fcMomentAMLogRepository)
 {
     this.mapper                         = mapper;
     this.usersRepository                = usersRepository;
     this.transactionService             = transactionService;
     this.workingPeriodsService          = workingPeriodsService;
     this.labelingModuleConfiguration    = labelingModuleConfiguration;
     this.audioReopenSubscriptionService = audioReopenSubscriptionService;
     this.fcMomentsRepository            = fcMomentsRepository;
     this.labelingAudioService           = labelingAudioService;
     this.fcMomentAMLogRepository        = fcMomentAMLogRepository;
 }
 public TranscriptionController(ITranscriptionService transcriptionService,
                                UserManager <CompanyIdentityUser> userManager,
                                IMapper mapper,
                                ILabelingAudioService labelingAudioService,
                                ILabelService labelService,
                                IImportRepository importsRepository,
                                ITranscriptionRepository transcriptionRepository,
                                ILabelingStatisticsService labelingStatisticsService,
                                ITranscriptionLabelsRepository labelsRepository,
                                ILabelGroupsRepository labelGroupsRepository)
 {
     this.mapper = mapper;
     this.labelGroupsRepository     = labelGroupsRepository;
     this.labelsRepository          = labelsRepository;
     this.importsRepository         = importsRepository;
     this.transcriptionRepository   = transcriptionRepository;
     this.labelingStatisticsService = labelingStatisticsService;
     this.labelingAudioService      = labelingAudioService;
     this.transcriptionService      = transcriptionService;
     this.labelService = labelService;
     this.userManager  = userManager;
 }