Exemple #1
0
        //---------------------------------------------------------------------
        /// <summary>
        /// Gets an enumerator for the <see cref="DataPoint" />s.
        /// </summary>
        /// <returns>The enumerator.</returns>
        public DataPointIterator GetEnumerator()
        {
            DataPointIterator enumerator =
                _state == InitialState &&
                _threadId == Environment.CurrentManagedThreadId
                ? this
                : this.Clone();

            enumerator._state = 0;
            return(enumerator);
        }
Exemple #2
0
 //-----------------------------------------------------------------
 public DataPointIndexedIterator(Compression compression, DataPointIterator wrappedIterator, TList source)
     : base(compression)
 {
     _wrapperIterator = wrappedIterator;
     _list            = source;
 }