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 TeamService(IHttpContextAccessor httpContext, AlexandriaContext context, IUserUtils userUtils, IAuthorizationService authorizationService, IBackgroundWorker backgroundWorker, IOptions <Shared.Configuration.Queue> queues, IProfanityValidator profanityValidator, SlackClient slackClient, ICacheBreaker cacheBreaker) { this.httpContext = httpContext.HttpContext; this.context = context; this.userUtils = userUtils; this.authorizationService = authorizationService; this.backgroundWorker = backgroundWorker; this.queues = queues.Value ?? throw new NoNullAllowedException("Queue Options can't be null"); this.profanityValidator = profanityValidator; this.slackClient = slackClient; this.cacheBreaker = cacheBreaker; }
public GameCastingService(AlexandriaContext alexandriaContext, IAuthorizationService authorizationService, ICacheBreaker cacheBreaker) { this.alexandriaContext = alexandriaContext; this.authorizationService = authorizationService; this.cacheBreaker = cacheBreaker; }