public NewFFmpegProfileHandler(
     IResolutionRepository resolutionRepository,
     IConfigElementRepository configElementRepository)
 {
     _resolutionRepository    = resolutionRepository;
     _configElementRepository = configElementRepository;
 }
Exemple #2
0
 public UpdateFFmpegProfileHandler(
     IFFmpegProfileRepository ffmpegProfileRepository,
     IResolutionRepository resolutionRepository)
 {
     _ffmpegProfileRepository = ffmpegProfileRepository;
     _resolutionRepository    = resolutionRepository;
 }
 public AdministrationController(IAgentRepository agentRepository,
                                 IResolutionRepository resolutionRepository,
                                 ILogger logger) : base(logger)
 {
     _agentRepository      = agentRepository;
     _resolutionRepository = resolutionRepository;
 }
 public AgentController(ITaskRepository taskRepository,
                        IAgentRepository agentRepository,
                        IResolutionRepository resolutionRepository,
                        ISettingsManager settingsManager,
                        ILogger logger) : base(logger)
 {
     _taskRepository       = taskRepository;
     _resolutionRepository = resolutionRepository;
     _agentRepository      = agentRepository;
     _pageSize             = settingsManager.GetValue <int>("AgentTasksPageSize");
 }
Exemple #5
0
        public UnitOfWork(DataContext context)
        {
            _dataContext = context;

            Albums      = new AlbumRepository(_dataContext);
            Photos      = new PhotoRepository(_dataContext);
            ItemTags    = new ItemTagRepository(_dataContext);
            PersonTags  = new PersonTagRepository(_dataContext);
            Persons     = new PersonRepository(_dataContext);
            Items       = new ItemRepository(_dataContext);
            Resolutions = new ResolutionRepository(_dataContext);
        }
 public ManagerController(ITaskRepository taskRepository,
                          IAgentRepository agentRepository,
                          IResolutionRepository resolutionRepository,
                          IT1000Logic companyServiceLogic,
                          ISettingsManager settingsManager,
                          ILogger logger) : base(logger)
 {
     _taskRepository       = taskRepository;
     _agentRepository      = agentRepository;
     _resolutionRepository = resolutionRepository;
     _companyServiceLogic  = companyServiceLogic;
     _pageSize             = settingsManager.GetValue <int>("ManagerTasksPageSize");
 }
Exemple #7
0
 public Answer(IQuestionsRepository questionsRepository, IResolutionRepository resolutionRepository, IHubContext <QuestionHub> hubContext)
 {
     _questionsRepository  = questionsRepository;
     _resolutionRepository = resolutionRepository;
     _hubContext           = hubContext;
 }
 public GetAllResolutionsHandler(IResolutionRepository resolutionRepository) =>
Exemple #9
0
 public ResolutionService(IResolutionRepository repository) : base(repository)
 {
     _repository = repository;
 }