Esempio n. 1
0
        public bool Next()
        {
            if (_scan2.Next())
            {
                return(true);
            }

            _scan2.BeforeFirst();
            return(_scan2.Next() && _scan1.Next());
        }
Esempio n. 2
0
        public bool Next()
        {
            while (_scan.Next())
            {
                if (_predicate.IsSatisfied(_scan))
                {
                    return(true);
                }
            }

            return(false);
        }
Esempio n. 3
0
 public void BeforeFirst()
 {
     _scan1.BeforeFirst();
     _scan1.Next();
     _scan2.BeforeFirst();
 }
Esempio n. 4
0
 public bool Next() => _scan.Next();