public CommandController(IOptions <ElasticConfig> config, ILoggerFactory loggerFactory, IElasticConnectionClient elasticConnectionClient, SynkerDbContext context) : base(config, loggerFactory, elasticConnectionClient, context) { }
public MediaRefService(SynkerDbContext synkerDbContext, IElasticConnectionClient elasticConnectionClient, ILoggerFactory loggerFactory) { _dbcontext = synkerDbContext; _elasticConnectionClient = elasticConnectionClient; _logger = loggerFactory.CreateLogger(nameof(MediaRefService)); }
public NotificationController(IMessageQueueService notificationService, IOptions <ElasticConfig> config, ILoggerFactory loggerFactory, IElasticConnectionClient elasticConnectionClient, SynkerDbContext context, IHubContext <NotificationHub> notifcationHubContext, IOptions <VapidKeysOptions> vapidKeysOptions) : base(config, loggerFactory, elasticConnectionClient, context) { _notificationService = notificationService ?? throw new ArgumentNullException(nameof(notificationService)); _vapidKeysConfig = vapidKeysOptions.Value; _notifcationHubContext = notifcationHubContext; }
public BaseController(IOptions <ElasticConfig> elasticConfig, ILoggerFactory loggerFactory, IElasticConnectionClient elasticConnectionClient, SynkerDbContext context) { _logger = loggerFactory.CreateLogger(nameof(BaseController)); _elasticConnectionClient = elasticConnectionClient; _elasticConfig = elasticConfig.Value; _dbContext = context; }
public SitePackController(IMemoryCache memoryCache, ISitePackService sitePackService, IOptions <ElasticConfig> config, ILoggerFactory loggerFactory, IElasticConnectionClient elasticConnectionClient, SynkerDbContext context, IPasteBinService pasteBinService) : base(config, loggerFactory, elasticConnectionClient, context) { _memoryCache = memoryCache ?? throw new ArgumentNullException(nameof(memoryCache)); _sitePackService = sitePackService ?? throw new ArgumentNullException(nameof(sitePackService)); _pasteBinService = pasteBinService ?? throw new ArgumentNullException(nameof(pasteBinService)); }
public PiconsController(IPiconsService piconsService, IOptions <ElasticConfig> config, ILoggerFactory loggerFactory, IElasticConnectionClient elasticConnectionClient, SynkerDbContext context, IMediaScraper mediaScraper, IOptions <GlobalOptions> globalOptions) : base(config, loggerFactory, elasticConnectionClient, context) { _piconsService = piconsService ?? throw new ArgumentNullException(nameof(piconsService)); _mediaScraper = mediaScraper ?? throw new ArgumentNullException(nameof(mediaScraper)); _globalOptions = globalOptions.Value ?? throw new ArgumentNullException(nameof(globalOptions)); }
public PlaylistService(SynkerDbContext synkerDbContext, IElasticConnectionClient elasticConnectionClient, IContextTvgMediaHandler contextHandler, ILoggerFactory loggerFactory, IOptions <ElasticConfig> elasticConfig, ISitePackService sitePackService, IProviderFactory providerFactory) { _dbcontext = synkerDbContext; _elasticConnectionClient = elasticConnectionClient; _contextHandler = contextHandler; _logger = loggerFactory.CreateLogger(nameof(PlaylistService)); _elasticConfig = elasticConfig; _sitePackService = sitePackService; _providerFactory = providerFactory; }
public MediaServerController(IOptions <ElasticConfig> config, MediaServerService mediaServerService, IOptions <MediaServerOptions> mediaServerOptions, ILoggerFactory loggerFactory, IElasticConnectionClient elasticConnectionClient, SynkerDbContext context) : base(config, loggerFactory, elasticConnectionClient, context) { _mediaServerService = mediaServerService; _mediaServerOptions = mediaServerOptions; }
public PlaylistsController(IMemoryCache memoryCache, IMediaScraper mediaScraper, IOptions <ElasticConfig> config, ILoggerFactory loggerFactory, IOptions <GlobalOptions> globalOptions, IElasticConnectionClient elasticConnectionClient, SynkerDbContext context, IPlaylistService playlistService, ISitePackService sitePackService, IXtreamService xtreamService, IProviderFactory providerFactory) : base(config, loggerFactory, elasticConnectionClient, context) { _playlistService = playlistService ?? throw new ArgumentNullException(nameof(playlistService)); _mediaScraper = mediaScraper ?? throw new ArgumentNullException(nameof(mediaScraper)); _memoryCache = memoryCache ?? throw new ArgumentNullException(nameof(memoryCache)); _sitePackService = sitePackService ?? throw new ArgumentNullException(nameof(sitePackService)); _globalOptions = globalOptions.Value ?? throw new ArgumentNullException(nameof(globalOptions)); _xtreamService = xtreamService ?? throw new ArgumentNullException(nameof(xtreamService)); _providerFactory = providerFactory ?? throw new ArgumentNullException(nameof(providerFactory)); }
public PiconsService(IElasticConnectionClient elasticConnectionClient, ILoggerFactory loggerFactory, IOptions <ElasticConfig> elasticConfig) { _elasticConnectionClient = elasticConnectionClient; _logger = loggerFactory.CreateLogger(nameof(PiconsService)); _elasticConfig = elasticConfig; }
public TvgMediaController(IOptions <ElasticConfig> config, ILoggerFactory loggerFactory, IElasticConnectionClient elasticConnectionClient, SynkerDbContext context, ISitePackService sitePackService) : base(config, loggerFactory, elasticConnectionClient, context) { _sitePackService = sitePackService ?? throw new ArgumentNullException(nameof(sitePackService)); }
public XtreamController(IXtreamService xtreamService, IOptions <ElasticConfig> config, ILoggerFactory loggerFactory, IElasticConnectionClient elasticConnectionClient, SynkerDbContext context) : base(config, loggerFactory, elasticConnectionClient, context) { _xtreamService = xtreamService ?? throw new ArgumentNullException(nameof(xtreamService)); }
public ContextTvgMediaHandler(IElasticConnectionClient elasticConnectionClient) { LastLang = "Ar"; _elasticConnectionClient = elasticConnectionClient; }