Example #1
0
 public MatchService(AlexandriaContext alexandriaContext, IBackgroundWorker backgroundWorker, ICacheBreaker cacheBreaker, TournamentUtils tournamentUtils, IOptions <Alexandria.Games.SuperSmashBros.Configuration.Queue> superSmashBrosQueues)
 {
     this.alexandriaContext    = alexandriaContext;
     this.cacheBreaker         = cacheBreaker;
     this.tournamentUtils      = tournamentUtils;
     this.backgroundWorker     = backgroundWorker;
     this.superSmashBrosQueues = superSmashBrosQueues.Value;
 }
Example #2
0
 public TournamentService(AlexandriaContext alexandriaContext, IMemoryCache memoryCache, TournamentUtils tournamentUtils)
 {
     this.alexandriaContext = alexandriaContext;
     this.cache             = memoryCache;
     this.tournamentUtils   = tournamentUtils;
 }