static void Initialize() { mangaRepository = new MangaRepository(config); chapterRepository = new ChapterRepository(config); pageRepository = new PageRepository(config); tagRepository = new TagRepository(config); }
/// <summary> /// Creates a new MangaUpdaterImpl /// </summary> public MangasTask(ILogManager manager, MangaParser parser, MangaRepository repository) { count_ = 0; Interval = kNotificationUpdateInterval; log_ = manager.Get("MeliMelo.Mangas"); parser_ = parser; repository_ = repository; }