public bool MoveNext()
        {
            AssertNotDisposed(this);

            if (!Enumerator.MoveNext())
            {
                _Current = null;
                return(false);
            }

            var col = Enumerator.Current;

            var trueIndex = col.Index + (Offset ?? 0);

            var val = Enumerator.Row.GetCellAt(DependsOn, trueIndex);

            if (val == null)
            {
                _Current = null;
            }
            else
            {
                _Current = val;
            }

            return(true);
        }
Exemplo n.º 2
0
        public bool MoveNext()
        {
            if (!Enumerator.MoveNext())
            {
                Current = null;
                return(false);
            }

            var col = Enumerator.Current;

            var trueIx = col.Index + (Offset ?? 0);

            Current = Enumerator.Row.GetCellAt(DependsOn, trueIx);

            return(true);
        }