public void CopyTo(TValue[] array, int arrayIndex) { for (int i = 0, count = m_Property.Count(m_Container); i < count; i++) { array[arrayIndex + i] = m_Property.GetAt(m_Container, i); } }
public bool MoveNext() { var count = m_Property.Count(m_Container); if (m_Index >= 0 && m_Index < count) { Current = m_Property.GetAt(m_Container, m_Index); m_Index++; return(true); } m_Index = count + 1; Current = default(TValue); return(false); }