public UploadService(IOptions <VideoServerOptions> options, VideoCdnDbContext dbContext, ChunkedUploadsCollection chunkedInProgress) { _options = options.Value; _dbContext = dbContext; _chunkedInProgress = chunkedInProgress; }
public StatsController(IOptions <VideoServerOptions> options, IMemoryCache memoryCache, VideoCdnDbContext dbContext, ISettingsService <VideoCdnSettings> settingsService) { _options = options.Value; _memoryCache = memoryCache; _dbContext = dbContext; _settingsService = settingsService; }
public CatalogController(VideoCdnDbContext dbContext, IVideoTokenService tokenService, ISettingsService <VideoCdnSettings> settingsService, IVideoEncodingService encodingService) { _dbContext = dbContext; _tokenService = tokenService; _settingsService = settingsService; _encodingService = encodingService; }
public VideoEncodingService(IVideoEncodingQueue queue, ISettingsService <VideoCdnSettings> settingsService, VideoCdnDbContext dbContext, IOptions <VideoServerOptions> options) { _queue = queue; _settingsService = settingsService; _dbContext = dbContext; _options = options.Value; }
public StartupSetup(ILogger <StartupSetup> logger, IOptions <VideoServerOptions> options, VideoCdnDbContext dbContext, UserManager <VideoCdnUser> userManager, RoleManager <IdentityRole <int> > roleManager, IOptions <AdminOptions> adminOptions) { this.logger = logger; this.options = options.Value; this.dbContext = dbContext; this.userManager = userManager; this.roleManager = roleManager; this.adminOptions = adminOptions.Value; }
public WatchCounterService(VideoCdnDbContext dbContext, IMemoryCache memoryCache) { _dbContext = dbContext; _memoryCache = memoryCache; }