public VideoMiddleware(RequestDelegate next,
                        ISettingsService <VideoCdnSettings> settingsService,
                        IVideoTokenService tokenService)
 {
     _next            = next;
     _settingsService = settingsService;
     _tokenService    = tokenService;
 }
Beispiel #2
0
 public CatalogController(VideoCdnDbContext dbContext, IVideoTokenService tokenService,
                          ISettingsService <VideoCdnSettings> settingsService, IVideoEncodingService encodingService)
 {
     _dbContext       = dbContext;
     _tokenService    = tokenService;
     _settingsService = settingsService;
     _encodingService = encodingService;
 }