コード例 #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;
        }
コード例 #2
0
 public AuthService(PlayCatDbContext dbContext, IInviteService inviteService, ILoggerFactory loggerFactory)
     : base(dbContext, loggerFactory.CreateLogger <AuthService>())
 {
     _inviteService = inviteService;
 }
コード例 #3
0
 public void SetDbContext(PlayCatDbContext dbContext)
 {
     _dbContext = dbContext;
 }
コード例 #4
0
 public BaseService(PlayCatDbContext dbContext, ILogger logger)
 {
     _dbContext = dbContext;
     _logger    = logger;
 }
コード例 #5
0
 public AudioService(PlayCatDbContext dbContext,
                     ILoggerFactory loggerFactory)
     : base(dbContext, loggerFactory.CreateLogger <AuthService>())
 {
 }
コード例 #6
0
 public PlaylistService(PlayCatDbContext dbContext, ILoggerFactory loggerFactory) : base(dbContext, loggerFactory.CreateLogger <PlaylistService>())
 {
 }