public TeamService( ILeagueApiConfiguration config) : base(config, VersionEnum.V2Rev3, "team") { Models.Team.CreateMap(AutoMapperService); #if DEBUG AutoMapperService.AssertConfigurationIsValid(); #endif }
public ChampionService( ILeagueApiConfiguration config) : base(config, VersionEnum.V1Rev2, "champion") { Models.Champion.CreateMap(AutoMapperService); #if DEBUG AutoMapperService.AssertConfigurationIsValid(); #endif }
public LeagueService( ILeagueApiConfiguration config) : base(config, VersionEnum.V2Rev4, "league") { Models.League.CreateMap(AutoMapperService); #if DEBUG AutoMapperService.AssertConfigurationIsValid(); #endif }
public GameService( ILeagueApiConfiguration config) : base(config, VersionEnum.V1Rev3, "game") { Models.Game.CreateMap(AutoMapperService); #if DEBUG AutoMapperService.AssertConfigurationIsValid(); #endif }
public StatsService( ILeagueApiConfiguration config) : base(config, VersionEnum.V1Rev3, "stats") { RankedStats.CreateMap(AutoMapperService); PlayerStatsSummary.CreateMap(AutoMapperService); #if DEBUG AutoMapperService.AssertConfigurationIsValid(); #endif }
public SummonerService( ILeagueApiConfiguration config) : base(config, VersionEnum.V1Rev4, "summoner") { MasteryPage.CreateMap(AutoMapperService); RunePage.CreateMap(AutoMapperService); Models.Summoner.CreateMap(AutoMapperService); #if DEBUG AutoMapperService.AssertConfigurationIsValid(); #endif }
public StaticService( ILeagueApiConfiguration config) : base(config, VersionEnum.V1Rev2, "static-data", false) { ChampionList.CreateMap(AutoMapperService); ItemList.CreateMap(AutoMapperService); MasteryList.CreateMap(AutoMapperService); Realm.CreateMap(AutoMapperService); RuneList.CreateMap(AutoMapperService); SummonerSpellList.CreateMap(AutoMapperService); #if DEBUG AutoMapperService.AssertConfigurationIsValid(); #endif }