Ejemplo n.º 1
0
 public HomeController(IScraperService scraperService, IRiotSharpService riotSharpService, IDbService dbService, IHomeService homeService)
 {
     this.scraperService   = scraperService;
     this.riotSharpService = riotSharpService;
     this.dbService        = dbService;
     this.homeService      = homeService;
 }
Ejemplo n.º 2
0
        public DbService(
            IDeletableEntityRepository <ChampionCounter> championCountersRepository,
            IDeletableEntityRepository <ChampionItemsItem> championItemsItemRepository,
            IDeletableEntityRepository <ChampionStarterItemsItem> championStarterItemsItemRepository,
            IDeletableEntityRepository <ChampionSummonerSpellsSummonerSpell> championSummonerSpellsSummonerSpellRepository,
            IDeletableEntityRepository <ChampionRunesRune> championRunesRuneRepository,
            IDeletableEntityRepository <ChampionRunesStatRune> championRunesStatRuneRepository,
            IDeletableEntityRepository <ChampionAbilitiesAbility> championAbilitiesAbilitiesRepository,
            IDeletableEntityRepository <BaseAbility> baseChampionAbilitiesRepository,
            IDeletableEntityRepository <Champion> championsRepository,
            IDeletableEntityRepository <ChampionAbilities> championAbilitiesRepository,
            IDeletableEntityRepository <ChampionItems> championItemsRepository,
            IDeletableEntityRepository <ChampionRole> championRolesRepository,
            IDeletableEntityRepository <ChampionRunes> championRunesRepository,
            IDeletableEntityRepository <ChampionStarterItems> championStarterItemsRepository,
            IDeletableEntityRepository <ChampionSummonerSpells> championSummonerSpellsRepository,
            IDeletableEntityRepository <Item> itemsRepository,
            IDeletableEntityRepository <RunePath> runePathsRepository,
            IDeletableEntityRepository <Rune> runesRepository,
            IDeletableEntityRepository <StatRune> statRunesRepository,
            IDeletableEntityRepository <SummonerSpell> summonerSpellsRepository,
            IDeletableEntityRepository <StatRuneRow> statRuneRowsRepository,
            IRiotSharpService riotSharpService,
            IScraperService scraperService)
        {
            this.championCountersRepository                    = championCountersRepository;
            this.championCountersRepository                    = championCountersRepository;
            this.championItemsItemRepository                   = championItemsItemRepository;
            this.championStarterItemsItemRepository            = championStarterItemsItemRepository;
            this.championSummonerSpellsSummonerSpellRepository = championSummonerSpellsSummonerSpellRepository;
            this.championRunesRuneRepository                   = championRunesRuneRepository;
            this.championRunesStatRuneRepository               = championRunesStatRuneRepository;
            this.championAbilitiesAbilitiesRepository          = championAbilitiesAbilitiesRepository;
            this.baseChampionAbilitiesRepository               = baseChampionAbilitiesRepository;
            this.championsRepository              = championsRepository;
            this.championAbilitiesRepository      = championAbilitiesRepository;
            this.championItemsRepository          = championItemsRepository;
            this.championRolesRepository          = championRolesRepository;
            this.championRunesRepository          = championRunesRepository;
            this.championStarterItemsRepository   = championStarterItemsRepository;
            this.championSummonerSpellsRepository = championSummonerSpellsRepository;
            this.itemsRepository          = itemsRepository;
            this.runePathsRepository      = runePathsRepository;
            this.runesRepository          = runesRepository;
            this.statRunesRepository      = statRunesRepository;
            this.summonerSpellsRepository = summonerSpellsRepository;
            this.statRuneRowsRepository   = statRuneRowsRepository;

            this.riotSharpService = riotSharpService;
            this.scraperService   = scraperService;
        }
Ejemplo n.º 3
0
 public ScraperService(IRiotSharpService riotSharpService)
 {
     this.config           = Configuration.Default.WithDefaultLoader();
     this.context          = BrowsingContext.New(this.config);
     this.riotSharpService = riotSharpService;
 }