public void CopyTo(IFeature[] array, int arrayIndex)
        {
            var length = Math.Min(_table.Rows.Count, array.Length - arrayIndex);
            var rows   = _table.Rows;

            for (var i = 0; i < length; i++)
            {
                array[arrayIndex + i] = new FeatureDataRowProxy((FeatureDataRow)rows[i]);
            }
        }
Beispiel #2
0
            public bool Read()
            {
                _feature = null;
                var res = _featureEnumerator.MoveNext();

                if (res)
                {
                    _feature = new FeatureDataRowProxy((FeatureDataRow)_featureEnumerator.Current);
                }
                return(res);
            }