public RecommendEngine(MakoClient makoClient, RecommendContentType?recommendContentType, TargetFilter filter, uint?maxBookmarkIdForRecommend, uint?minBookmarkIdForRecentIllust, EngineHandle?engineHandle) : base(makoClient, engineHandle) { _recommendContentType = recommendContentType ?? RecommendContentType.Illust; _filter = filter; _maxBookmarkIdForRecommend = maxBookmarkIdForRecommend; _minBookmarkIdForRecentIllust = minBookmarkIdForRecentIllust; }
public IFetchEngine <Illustration> Recommends( RecommendContentType recommendContentType = RecommendContentType.Illust, TargetFilter targetFilter = TargetFilter.ForAndroid, uint?maxBookmarkIdForRecommend = null, uint?maxBookmarkIdForRecentIllust = null) { EnsureNotCancelled(); return(new RecommendEngine(this, recommendContentType, targetFilter, maxBookmarkIdForRecommend, maxBookmarkIdForRecentIllust, new EngineHandle(CancelInstance))); }