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; }
public TournamentService(AlexandriaContext alexandriaContext, IMemoryCache memoryCache, TournamentUtils tournamentUtils) { this.alexandriaContext = alexandriaContext; this.cache = memoryCache; this.tournamentUtils = tournamentUtils; }