Esempio n. 1
0
 public League(LeagueConfiguration configuration, int startYear)
 {
     StartYear     = startYear;
     Configuration = configuration;
     Seasons       = new List <Season>();
     SetDivisionTeamCounts();
     CreateDivisions();
 }
Esempio n. 2
0
 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();
     }
 }
Esempio n. 3
0
 public LeagueActivityScraper(IOptions <LeagueConfiguration> emailConfiguration)
 {
     _leagueConfig = emailConfiguration.Value;
 }