public GrabberProvider(IHtmlLoaderHelper htmlLoaderHelper, IConfiguration сonfiguration, IGrabberHelper grabber) : base(htmlLoaderHelper, сonfiguration) { ScheduleUrl = _сonfiguration.GetSection("ElitTournament:Schedule").Value; ScoreUrl = _сonfiguration.GetSection("ElitTournament:Score").Value; TableUrl = _сonfiguration.GetSection("ElitTournament:Table").Value; _grabber = grabber; }
public SushiPapaProvider(IHtmlLoaderHelper htmlLoaderHelper, IConfiguration сonfiguration, ISushiPapaHelper sushiPapa) : base(htmlLoaderHelper, сonfiguration) { SetsUrl = _сonfiguration.GetSection($"Site:{_site}:Sets").Value; RolsUrl = _сonfiguration.GetSection($"Site:{_site}:Rols").Value; SushiUrl = _сonfiguration.GetSection($"Site:{_site}:Sushi").Value; _sushiPapa = sushiPapa; }
public MafiaProvider(IHtmlLoaderHelper htmlLoaderHelper, IConfiguration сonfiguration, IMafiaHelper mafia) : base(htmlLoaderHelper, сonfiguration) { SetsUrl = _сonfiguration.GetSection($"Site:{_site}:Sets").Value; RolsUrl = _сonfiguration.GetSection($"Site:{_site}:Rols").Value; SushiUrl = _сonfiguration.GetSection($"Site:{_site}:Sushi").Value; PizzaUrl = _сonfiguration.GetSection($"Site:{_site}:Pizza").Value; _mafia = mafia; }
public RollClubProvider(IHtmlLoaderHelper htmlLoaderHelper, IConfiguration сonfiguration, IRollClubHelper rollClub) : base(htmlLoaderHelper, сonfiguration) { SetsUrl = _сonfiguration.GetSection($"Site:{_site}:Sets").Value; RolsUrl = _сonfiguration.GetSection($"Site:{_site}:Rols").Value; SushiUrl = _сonfiguration.GetSection($"Site:{_site}:Sushi").Value; PizzaUrl = _сonfiguration.GetSection($"Site:{_site}:Pizza").Value; _rollClub = rollClub; }
public YaposhkaProvider(IHtmlLoaderHelper htmlLoaderHelper, IConfiguration сonfiguration, IYaposhkaHelper yaposhka) : base(htmlLoaderHelper, сonfiguration) { SetsUrl = _сonfiguration.GetSection($"Site:{_site}:Sets").Value; RolsUrl = _сonfiguration.GetSection($"Site:{_site}:Rols").Value; SushiUrl = _сonfiguration.GetSection($"Site:{_site}:Sushi").Value; PizzaUrl = _сonfiguration.GetSection($"Site:{_site}:Pizza").Value; _yaposhka = yaposhka; }
public MafiaProviderFactory(IHtmlLoaderHelper htmlLoaderHelper, IConfiguration сonfiguration, IMafiaHelper mafia, Restaurant restaurant) : base(htmlLoaderHelper, сonfiguration) { _restaurant = restaurant; SetsUrl = _сonfiguration.GetSection($"Site:{restaurant.Name}:Sets").Value; RolsUrl = _сonfiguration.GetSection($"Site:{restaurant.Name}:Rols").Value; SushiUrl = _сonfiguration.GetSection($"Site:{restaurant.Name}:Sushi").Value; PizzaUrl = _сonfiguration.GetSection($"Site:{restaurant.Name}:Pizza").Value; _mafia = mafia; }
public GrabberService(IYaposhkaProvider yaposhkaProvider, IMafiaProvider mafiaProvider, ISushiPapaProvider sushiPapaProvider, IRollClubProvider rollClubProvider, ISetRepository setRepository, IRolRepository rolRepository, ISushiRepository sushiRepository, IPizzaRepository pizzaRepository, IRestaurantRepository restaurandRepository, IHtmlLoaderHelper htmlLoaderHelper, IConfiguration сonfiguration, IMafiaHelper mafia, IYaposhkaHelper yaposhka ) { _yaposhkaProvider = yaposhkaProvider; _mafiaProvider = mafiaProvider; _setRepository = setRepository; _rolRepository = rolRepository; _sushiRepository = sushiRepository; _pizzaRepository = pizzaRepository; _sushiPapaProvider = sushiPapaProvider; _rollClubProvider = rollClubProvider; _restaurandRepository = restaurandRepository; _htmlLoaderHelper = htmlLoaderHelper; _сonfiguration = сonfiguration; _mafiaHelper = mafia; _yaposhkaHelper = yaposhka; }
public BaseProvider(IHtmlLoaderHelper htmlLoaderHelper, IConfiguration сonfiguration) { _htmlLoaderHelper = htmlLoaderHelper; _сonfiguration = сonfiguration; domParser = new HtmlParser(); }
public FootballProvider(IHtmlLoaderHelper htmlLoaderHelper, IConfiguration сonfiguration, IFootballHelper footballHelper) : base(htmlLoaderHelper, сonfiguration) { _footballHelper = footballHelper; }