Beispiel #1
0
 public UsersDbOperator(OtokatariContext context, ILogger <UsersDbOperator> loggger, IdWorker uid, SingersDbOperator singer)
 {
     _context = context;
     _logger  = loggger;
     _uid     = uid;
     _singer  = singer;
 }
Beispiel #2
0
 public BehaviourServices(MongoContext context,
                          SingersDbOperator singers,
                          MusicLibraryOperator musiclib,
                          ILogger <BehaviourServices> logger,
                          AnalyzerQueue queue,
                          [FromServices] IConfiguration config)
 {
     _context            = context;
     _logger             = logger;
     _musiclib           = musiclib;
     _queue              = queue;
     _singers            = singers;
     EnableMusicAnalyzer = config.GetValue <bool>("EnableMusicAnalyzer");
     _logger.LogInformation($"MusicAnalyzer status: {EnableMusicAnalyzer}");
 }
Beispiel #3
0
 public LikeSingerServices(SingersDbOperator singersList)
 {
     _singersList = singersList;
 }