示例#1
0
 public VideosController(IOptions <VideoServerOptions> options, IUploadService uploadService,
                         IVideoEncodingService encodingService)
 {
     _options         = options.Value;
     _uploadService   = uploadService;
     _encodingService = encodingService;
 }
示例#2
0
 public CatalogController(VideoCdnDbContext dbContext, IVideoTokenService tokenService,
                          ISettingsService <VideoCdnSettings> settingsService, IVideoEncodingService encodingService)
 {
     _dbContext       = dbContext;
     _tokenService    = tokenService;
     _settingsService = settingsService;
     _encodingService = encodingService;
 }