コード例 #1
0
 public MangaInfoController(
     IEntityRepository <MangaInfo> mangaInfoRep,
     IEntityRepository <MangaChapterInfo> chaptersRep,
     IMangaLoader mangaLoader) : base(mangaInfoRep)
 {
     _mangaLoader = mangaLoader;
     _chaptersRep = chaptersRep;
 }
コード例 #2
0
 public MangaLoadTask(
     IEntityRepository <MangaInfo> mangaInfoRep,
     IEntityRepository <MangaChapterInfo> chaptersRep,
     IEntityRepository <MangaChapterNotification> mangaNotificationRep,
     IMangaLoader mangaLoader,
     IMessageClient messageClient,
     ILogger <MangaLoadTask> log)
 {
     _mangaInfoRep         = mangaInfoRep;
     _mangaLoader          = mangaLoader;
     this._messageClient   = messageClient;
     _chaptersRep          = chaptersRep;
     _mangaNotificationRep = mangaNotificationRep;
     _log = log;
 }