public QueryAsyncEnumerator(IPixivAsyncEnumerable <Illustration> enumerable, string keyword, SearchTagMatchOption matchOption, int current, bool isPremium) : base(enumerable) { _keyword = keyword; _matchOption = matchOption; _current = current; _isPremium = isPremium; }
public static void StartNewInstance <T>(IPixivAsyncEnumerable <T> itr) { CurrentItr?.Cancel(); GC.Collect(); AppContext.DefaultCacheProvider.Clear(); CurrentItr = itr as IPixivAsyncEnumerable <object>; }
public static void StartNewInstance <T>(IPixivAsyncEnumerable <T> itr) { var iterator = _currentItr as IPixivAsyncEnumerable <T>; iterator?.Cancel(); GC.Collect(); AppContext.DefaultCacheProvider.Clear(); _currentItr = itr; }
public RecommendAsyncEnumerator(IPixivAsyncEnumerable <Illustration> enumerable) : base(enumerable) { }
public UserFollowingAsyncEnumerator(IPixivAsyncEnumerable <User> enumerable, string userId, RestrictPolicy restrictPolicy) : base(enumerable) { this.userId = userId; this.restrictPolicy = restrictPolicy; }
public UserUpdateAsyncEnumerator(IPixivAsyncEnumerable <Illustration> enumerable) : base(enumerable) { }
public GalleryAsyncEnumerator(string uid, IPixivAsyncEnumerable <Illustration> outerInstance, RestrictPolicy restrictPolicy) : base(outerInstance) { this._uid = uid; this._restrictPolicy = restrictPolicy; }
public RankingAsyncEnumerator(IPixivAsyncEnumerable <Illustration> enumerable, RankOption rankOption, DateTime dateTime) : base(enumerable) { _rankOptionParameter = rankOption.GetEnumAttribute <EnumAlias>().AliasAs; _dateTimeParameter = dateTime.ToString("yyyy-MM-dd"); }
public QueryAsyncEnumerator(IPixivAsyncEnumerable <Illustration> enumerable, string keyword, SearchTagMatchOption matchOption, int current) : base(enumerable) { this.keyword = keyword; this.matchOption = matchOption; this.current = current; }
public static void StartNewInstance <T>(IPixivAsyncEnumerable <T> itr) { CurrentItr?.Cancel(); CurrentItr = itr as IPixivAsyncEnumerable <object>; }
protected AbstractPixivAsyncEnumerator(IPixivAsyncEnumerable <T> enumerable) { Enumerable = enumerable; }