Ejemplo n.º 1
0
        public UploadService(
            PlayCatDbContext dbContext,
            IOptions <VideoRestrictsOptions> videoRestrictsOptions,
            IVideoInfoGetter videoInfoGetter,
            ISaveVideo saveVideo,
            IExtractAudio extractAudio,
            IUploadAudio uploadAudio,
            ILoggerFactory loggerFactory)
            : base(dbContext, loggerFactory.CreateLogger <UploadService>())
        {
            _videoInfoGetter = videoInfoGetter;
            _saveVideo       = saveVideo;
            _extractAudio    = extractAudio;
            _uploadAudio     = uploadAudio;

            _videoRestrictsOptions = videoRestrictsOptions;
        }
Ejemplo n.º 2
0
 public AuthService(PlayCatDbContext dbContext, IInviteService inviteService, ILoggerFactory loggerFactory)
     : base(dbContext, loggerFactory.CreateLogger <AuthService>())
 {
     _inviteService = inviteService;
 }
Ejemplo n.º 3
0
 public void SetDbContext(PlayCatDbContext dbContext)
 {
     _dbContext = dbContext;
 }
Ejemplo n.º 4
0
 public BaseService(PlayCatDbContext dbContext, ILogger logger)
 {
     _dbContext = dbContext;
     _logger    = logger;
 }
Ejemplo n.º 5
0
 public AudioService(PlayCatDbContext dbContext,
                     ILoggerFactory loggerFactory)
     : base(dbContext, loggerFactory.CreateLogger <AuthService>())
 {
 }
Ejemplo n.º 6
0
 public PlaylistService(PlayCatDbContext dbContext, ILoggerFactory loggerFactory) : base(dbContext, loggerFactory.CreateLogger <PlaylistService>())
 {
 }