public LeagueController(FantasyCriticUserManager userManager, FantasyCriticService fantasyCriticService, IClock clock, IHubContext <UpdateHub> hubcontext) { _userManager = userManager; _fantasyCriticService = fantasyCriticService; _clock = clock; _hubcontext = hubcontext; }
private static AdminService GetAdminService() { FantasyCriticUserManager userManager = null !; IFantasyCriticUserStore betaUserStore = new MySQLFantasyCriticUserStore(_betaConnectionString, _clock); IMasterGameRepo masterGameRepo = new MySQLMasterGameRepo(_betaConnectionString, betaUserStore); IFantasyCriticRepo fantasyCriticRepo = new MySQLFantasyCriticRepo(_betaConnectionString, betaUserStore, masterGameRepo); InterLeagueService interLeagueService = new InterLeagueService(fantasyCriticRepo, masterGameRepo); LeagueMemberService leagueMemberService = new LeagueMemberService(null !, fantasyCriticRepo, _clock); GameAcquisitionService gameAcquisitionService = new GameAcquisitionService(fantasyCriticRepo, masterGameRepo, leagueMemberService, _clock); ActionProcessingService actionProcessingService = new ActionProcessingService(gameAcquisitionService); FantasyCriticService fantasyCriticService = new FantasyCriticService(leagueMemberService, interLeagueService, fantasyCriticRepo, _clock); IOpenCriticService openCriticService = null !; IGGService ggService = null !; PatreonService patreonService = null !; IRDSManager rdsManager = null !; RoyaleService royaleService = null !; IHypeFactorService hypeFactorService = new LambdaHypeFactorService(_awsRegion, _betaBucket); AdminServiceConfiguration configuration = new AdminServiceConfiguration(true); var environment = Environment.GetEnvironmentVariable("ASPNETCORE_ENVIRONMENT"); var realHypeConstantsEnvironments = new List <string>() { "STAGING", "PRODUCTION" }; if (environment is not null && realHypeConstantsEnvironments.Contains(environment.ToUpper())) { configuration = new AdminServiceConfiguration(false); } return(new AdminService(fantasyCriticService, userManager, fantasyCriticRepo, masterGameRepo, interLeagueService, openCriticService, ggService, patreonService, _clock, rdsManager, royaleService, hypeFactorService, configuration, actionProcessingService)); }
public AdminController(FantasyCriticUserManager userManager, FantasyCriticService fantasyCriticService, IOpenCriticService openCriticService, IClock clock) { _userManager = userManager; _fantasyCriticService = fantasyCriticService; _openCriticService = openCriticService; _clock = clock; }
public LeagueManagerController(FantasyCriticUserManager userManager, FantasyCriticService fantasyCriticService, IClock clock, IHubContext <UpdateHub> hubcontext, IEmailSender emailSender) { _userManager = userManager; _fantasyCriticService = fantasyCriticService; _clock = clock; _hubcontext = hubcontext; _emailSender = emailSender; }
public GameController(FantasyCriticUserManager userManager, InterLeagueService interLeagueService, FantasyCriticService fantasyCriticService, GameSearchingService gameSearchingService, IClock clock) : base(userManager) { _interLeagueService = interLeagueService; _fantasyCriticService = fantasyCriticService; _gameSearchingService = gameSearchingService; _clock = clock; }
public AdminController(AdminService adminService, FantasyCriticService fantasyCriticService, IOpenCriticService openCriticService, IClock clock, InterLeagueService interLeagueService, ILogger <AdminController> logger, GameAcquisitionService gameAcquisitionService) { _adminService = adminService; _fantasyCriticService = fantasyCriticService; _openCriticService = openCriticService; _clock = clock; _interLeagueService = interLeagueService; _logger = logger; _gameAcquisitionService = gameAcquisitionService; }
public LeagueManagerController(FantasyCriticUserManager userManager, FantasyCriticService fantasyCriticService, InterLeagueService interLeagueService, LeagueMemberService leagueMemberService, DraftService draftService, PublisherService publisherService, IClock clock, IHubContext <UpdateHub> hubContext, EmailSendingService emailSendingService, GameAcquisitionService gameAcquisitionService) : base(userManager, fantasyCriticService, interLeagueService, leagueMemberService) { _draftService = draftService; _publisherService = publisherService; _clock = clock; _hubContext = hubContext; _emailSendingService = emailSendingService; _gameAcquisitionService = gameAcquisitionService; }
public AdminController(AdminService adminService, FantasyCriticService fantasyCriticService, IClock clock, InterLeagueService interLeagueService, ILogger <AdminController> logger, GameAcquisitionService gameAcquisitionService, FantasyCriticUserManager userManager, IWebHostEnvironment webHostEnvironment, EmailSendingService emailSendingService) : base(userManager) { _adminService = adminService; _fantasyCriticService = fantasyCriticService; _clock = clock; _interLeagueService = interLeagueService; _logger = logger; _gameAcquisitionService = gameAcquisitionService; _webHostEnvironment = webHostEnvironment; _emailSendingService = emailSendingService; }
public AdminController(AdminService adminService, FantasyCriticService fantasyCriticService, IOpenCriticService openCriticService, IClock clock, InterLeagueService interLeagueService, ILogger <AdminController> logger, GameAcquisitionService gameAcquisitionService, FantasyCriticUserManager userManager, IEmailSender emailSender) { _adminService = adminService; _fantasyCriticService = fantasyCriticService; _openCriticService = openCriticService; _clock = clock; _interLeagueService = interLeagueService; _logger = logger; _gameAcquisitionService = gameAcquisitionService; _userManager = userManager; _emailSender = emailSender; }
public LeagueManagerController(FantasyCriticUserManager userManager, FantasyCriticService fantasyCriticService, InterLeagueService interLeagueService, LeagueMemberService leagueMemberService, DraftService draftService, PublisherService publisherService, IClock clock, IHubContext <UpdateHub> hubContext, IEmailSender emailSender, GameAcquisitionService gameAcquisitionService) { _userManager = userManager; _fantasyCriticService = fantasyCriticService; _interLeagueService = interLeagueService; _leagueMemberService = leagueMemberService; _draftService = draftService; _publisherService = publisherService; _clock = clock; _hubContext = hubContext; _emailSender = emailSender; _gameAcquisitionService = gameAcquisitionService; }
public EmailSendingService(FantasyCriticUserManager userManager, IEmailSender emailSender, InterLeagueService interLeagueService, FantasyCriticService fantasyCriticService, GameAcquisitionService gameAcquisitionService, LeagueMemberService leagueMemberService, EmailSendingServiceConfiguration configuration, IClock clock) { _userManager = userManager; _emailSender = emailSender; _interLeagueService = interLeagueService; _fantasyCriticService = fantasyCriticService; _gameAcquisitionService = gameAcquisitionService; _leagueMemberService = leagueMemberService; _baseAddress = configuration.BaseAddress; _isProduction = configuration.IsProduction; _clock = clock; }
public AdminService(FantasyCriticService fantasyCriticService, FantasyCriticUserManager userManager, IFantasyCriticRepo fantasyCriticRepo, IMasterGameRepo masterGameRepo, InterLeagueService interLeagueService, IOpenCriticService openCriticService, IGGService ggService, PatreonService patreonService, IClock clock, IRDSManager rdsManager, RoyaleService royaleService, IHypeFactorService hypeFactorService, AdminServiceConfiguration configuration, ActionProcessingService actionProcessingService) { _fantasyCriticService = fantasyCriticService; _userManager = userManager; _fantasyCriticRepo = fantasyCriticRepo; _masterGameRepo = masterGameRepo; _interLeagueService = interLeagueService; _openCriticService = openCriticService; _ggService = ggService; _patreonService = patreonService; _clock = clock; _rdsManager = rdsManager; _royaleService = royaleService; _hypeFactorService = hypeFactorService; _configuration = configuration; _actionProcessingService = actionProcessingService; }
protected BaseLeagueController(FantasyCriticUserManager userManager, FantasyCriticService fantasyCriticService, InterLeagueService interLeagueService, LeagueMemberService leagueMemberService) : base(userManager) { _fantasyCriticService = fantasyCriticService; _interLeagueService = interLeagueService; _leagueMemberService = leagueMemberService; }
public UpdateHub(FantasyCriticService fantasyCriticService) { _fantasyCriticService = fantasyCriticService; }
public UpdateHub(FantasyCriticUserManager userManager, FantasyCriticService fantasyCriticService) { _userManager = userManager; _fantasyCriticService = fantasyCriticService; }
public GameController(FantasyCriticUserManager userManager, FantasyCriticService fantasyCriticService) { _userManager = userManager; _fantasyCriticService = fantasyCriticService; }
public GeneralController(FantasyCriticService fantasyCriticService, InterLeagueService interLeagueService) { _fantasyCriticService = fantasyCriticService; _interLeagueService = interLeagueService; }