public AniDbClient(IAniDbDataCache aniDbDataCache, ISeriesTitleCache seriesTitleCache, ILogManager logManager) { this.aniDbDataCache = aniDbDataCache; this.seriesTitleCache = seriesTitleCache; this.log = logManager.GetLogger(nameof(AniDbClient)); }
public SeriesTitleCache(IAniDbDataCache aniDbDataCache, ITitleNormaliser titleNormaliser, ILogManager logManager) { this.aniDbDataCache = aniDbDataCache; this.titleNormaliser = titleNormaliser; this.log = logManager.GetLogger(nameof(SeriesTitleCache)); this.titles = new Lazy <IDictionary <string, TitleListItemData> >(this.GetTitles); }