Ejemplo n.º 1
0
 static void Initialize()
 {
     mangaRepository   = new MangaRepository(config);
     chapterRepository = new ChapterRepository(config);
     pageRepository    = new PageRepository(config);
     tagRepository     = new TagRepository(config);
 }
Ejemplo n.º 2
0
 /// <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;
 }