コード例 #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();
        }
コード例 #2
0
ファイル: LabelService.cs プロジェクト: megadude000/examples
 public LabelService(IMapper mapper,
                     ITransactionService transactionService,
                     ILabelGroupsRepository labelGroupsRepository,
                     ITranscriptionLabelsRepository labelsRepository,
                     ITranscriptionSelectedLabelRepository transcriptionSelectedLabelRepository)
 {
     this.mapper                = mapper;
     this.labelsRepository      = labelsRepository;
     this.transactionService    = transactionService;
     this.labelGroupsRepository = labelGroupsRepository;
     this.transcriptionSelectedLabelRepository = transcriptionSelectedLabelRepository;
 }
コード例 #3
0
 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;
 }