Hide menu
Loading...
Searching...
No Matches
cadex.Collections.ModelElementList.ModelElementListEnumerator Class Referencesealed

Note that the IEnumerator documentation requires an InvalidOperationException to be thrown whenever the collection is modified. More...

Inherits global.SystemCollections.IEnumerator, and global.SystemCollections.Generic.IEnumerator< cadex.ModelData.ModelElement >.

Public Member Functions

 ModelElementListEnumerator (ModelElementList collection)
 
bool MoveNext ()
 
void Reset ()
 
void Dispose ()
 

Properties

cadex.ModelData.ModelElement Current [get]
 

Detailed Description

Note that the IEnumerator documentation requires an InvalidOperationException to be thrown whenever the collection is modified.

This has been done for changes in the size of the collection but not when one of the elements of the collection is modified as it is a bit tricky to detect unmanaged code that modifies the collection under our feet.