Axiom.Math.Collections.QuaternionCollection.Enumerator.MoveNext C# (CSharp) Method

MoveNext() public method

Advances the enumerator to the next element in the collection.
/// The collection was modified after the enumerator was created. ///
public MoveNext ( ) : bool
return bool
            public bool MoveNext()
            {
                if ( m_version != m_collection.m_version )
                    throw new System.InvalidOperationException( "Collection was modified; enumeration operation may not execute." );

                ++m_index;
                return ( m_index < m_collection.Count ) ? true : false;
            }
QuaternionCollection.Enumerator