public League(LeagueConfiguration configuration, int startYear) { StartYear = startYear; Configuration = configuration; Seasons = new List <Season>(); SetDivisionTeamCounts(); CreateDivisions(); }
public LeagueBuildUtilities(SystemState systemState, LeagueConfiguration leagueConfiguration, IFileSystemProxy fileSystemProxy, RiotSolutionLoader riotSolutionLoader, TemporaryFileService temporaryFileService, CommandFactory commandFactory, LeagueBuildUtilitiesConfiguration leagueBuildUtilitiesConfiguration) { this.systemState = systemState; this.leagueConfiguration = leagueConfiguration; this.fileSystemProxy = fileSystemProxy; this.riotSolutionLoader = riotSolutionLoader; this.temporaryFileService = temporaryFileService; this.commandFactory = commandFactory; this.leagueBuildUtilitiesConfiguration = leagueBuildUtilitiesConfiguration; if (leagueBuildUtilitiesConfiguration.IsLoggingEnabled) { logger = LogManager.GetCurrentClassLogger(); } }
public LeagueActivityScraper(IOptions <LeagueConfiguration> emailConfiguration) { _leagueConfig = emailConfiguration.Value; }