public CommandHandlingService( IServiceProvider provider, DiscordSocketClient discord, CommandService commands, MangaService mangaService, UserAlertService userAlertService, ChannelService channelService, ServerAlertService serverAlertService, MangaUpdatesCrawlerService mangaUpdatesService, UnionMangasCrawlerService unionMangasService, //TuMangaCrawlerService tuMangaService, InfoAnimeCrawlerService infoAnimeCrawlerService, AppDbContext dbContext) { this.discord = discord; this.commands = commands; this.mangaService = mangaService; this.userAlertService = userAlertService; this.channelService = channelService; this.serverAlertService = serverAlertService; this.mangaUpdatesService = mangaUpdatesService; this.unionMangasService = unionMangasService; //this.tuMangaService = tuMangaService; this.infoAnimeService = infoAnimeCrawlerService; this.provider = provider; this.dbContext = dbContext; this.discord.Connected += Update; resourceManager = new ResourceManager(typeof(WebJobResource)); }
public CrawlerService( MangaUpdatesCrawlerService mangaUpdates, //TuMangaCrawlerService tuManga, UnionMangasCrawlerService unionMangas, InfoAnimeCrawlerService infoAnimeCrawlerService) { this.mangaUpdates = mangaUpdates; //this.tuManga = tuManga; this.unionMangas = unionMangas; this.infoAnime = infoAnimeCrawlerService; }