コード例 #1
0
 public SmallSyncJob(IJobHubHelper hubHelper, IJobRepository jobRepository, ISettingsService settingsService,
                     IMediaServerService mediaServerService)
     : base(hubHelper, jobRepository, settingsService, typeof(SmallSyncJob), Constants.LogPrefix.SmallMediaServerSyncJob)
 {
     _mediaServerService = mediaServerService;
     Title = jobRepository.GetById(Id).Title;
 }
コード例 #2
0
 public PingEmbyJob(IJobHubHelper hubHelper, IJobRepository jobRepository, ISettingsService settingsService,
                    IMediaServerService mediaServerService)
     : base(hubHelper, jobRepository, settingsService, false, typeof(PingEmbyJob), Constants.LogPrefix.PingMediaServerJob)
 {
     _mediaServerService = mediaServerService;
     Title = jobRepository.GetById(Id).Title;
 }
コード例 #3
0
 public SettingsController(ISettingsService settingsService, IStatisticsRepository statisticsRepository, ILanguageService languageService, IMapper mapper, IMediaServerService mediaServerService)
 {
     _languageService      = languageService;
     _settingsService      = settingsService;
     _statisticsRepository = statisticsRepository;
     _mediaServerService   = mediaServerService;
     _mapper = mapper;
 }
コード例 #4
0
ファイル: LogService.cs プロジェクト: BankaiNoJutsu/EmbyStat
 public LogService(ISettingsService settingsService, IMediaServerService mediaServerService)
 {
     _settingsService    = settingsService;
     _mediaServerService = mediaServerService;
 }
コード例 #5
0
 public MediaServerController(IMediaServerService mediaServerService, IMapper mapper)
 {
     _mediaServerService = mediaServerService;
     _mapper             = mapper;
 }