Пример #1
0
        public override bool MoveNext()
        {
            var result = cursor.MoveNext();

            while (result && !filter(cursor))
            {
                result = cursor.MoveNext();
            }

            return(result);
        }
Пример #2
0
 public override bool MoveNext() => cursor.MoveNext();